diff --git a/src/rlgl.c b/src/rlgl.c index 5a6b70e5..e1a4a5be 100644 --- a/src/rlgl.c +++ b/src/rlgl.c @@ -417,6 +417,7 @@ void rlPushMatrix(void) } stack[stackCounter] = *currentMatrix; + rlLoadIdentity(); stackCounter++; if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true;