Browse Source

Reverted change that breaks 3D drawing

It should be reviewed more carefully...
Ray San 8 years ago
parent
commit
412c52499a
1 changed files with 1 additions and 0 deletions
  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;