Corrected issue with matrices
Matrix stack system should be reviewed but, in the meantime, currentMatrix should be reseted in order of 3d to work
This commit is contained in:
parent
fcb0cae605
commit
c37d2d448d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue