Browse Source

Reverted change that breaks 3D drawing

It should be reviewed more carefully...
Ray San 8 năm trước cách đây
mục cha
commit
412c52499a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/rlgl.c

+ 1 - 0
src/rlgl.c

@@ -417,6 +417,7 @@ void rlPushMatrix(void)
     }
 
     stack[stackCounter] = *currentMatrix;
+    rlLoadIdentity();
     stackCounter++;
 
     if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true;