summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.c1
1 files changed, 1 insertions, 0 deletions
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;