浏览代码

Reverted change that breaks 3D drawing

It should be reviewed more carefully...
Ray San 8 年之前
父节点
当前提交
412c52499a
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;