浏览代码

Corrected issue with matrices

Matrix stack system should be reviewed but, in the meantime,
currentMatrix should be reseted in order of 3d to work
Ray 7 年之前
父节点
当前提交
c37d2d448d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/rlgl.c

+ 1 - 1
src/rlgl.c

@@ -414,7 +414,7 @@ void rlPushMatrix(void)
     }
 
     stack[stackCounter] = *currentMatrix;
-//    rlLoadIdentity();
+    rlLoadIdentity();       // TODO: Review matrix stack logic!
     stackCounter++;
 
     if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true;