Ver Fonte

Reverted change that breaks 3D drawing

It should be reviewed more carefully...
Ray San há 8 anos atrás
pai
commit
412c52499a
1 ficheiros alterados com 1 adições e 0 exclusões
  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;