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:
Ray 2018-01-08 01:03:04 +01:00
parent fcb0cae605
commit c37d2d448d

View File

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