소스 검색

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;