summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay San <[email protected]>2017-10-04 12:13:32 +0200
committerRay San <[email protected]>2017-10-04 12:13:32 +0200
commit412c52499a4288b0b1f1b0626229ebc5ce2b5c27 (patch)
tree615e133d7dbbbb5b76e054112873809d42ab5753 /src
parentddea9d68bfa7c75fd71997ef93f633ed0769cc1a (diff)
downloadraylib-412c52499a4288b0b1f1b0626229ebc5ce2b5c27.tar.gz
raylib-412c52499a4288b0b1f1b0626229ebc5ce2b5c27.zip
Reverted change that breaks 3D drawing
It should be reviewed more carefully...
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;