瀏覽代碼

Corrected issue with matrices

Matrix stack system should be reviewed but, in the meantime,
currentMatrix should be reseted in order of 3d to work
pull/432/head
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; stack[stackCounter] = *currentMatrix;
// rlLoadIdentity();
rlLoadIdentity(); // TODO: Review matrix stack logic!
stackCounter++; stackCounter++;
if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true; if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true;

Loading…
取消
儲存