aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-01-08 01:03:04 +0100
committerRay <raysan5@gmail.com>2018-01-08 01:03:04 +0100
commitc37d2d448d373ee6aaf6b202fbfacc8283d7e682 (patch)
treeb422ae76accf883ec8dc9396fc0be64484d61611 /src
parentfcb0cae60583da6500c3adb1255b258d652fe22e (diff)
downloadraylib-c37d2d448d373ee6aaf6b202fbfacc8283d7e682.tar.gz
raylib-c37d2d448d373ee6aaf6b202fbfacc8283d7e682.zip
Corrected issue with matrices
Matrix stack system should be reviewed but, in the meantime, currentMatrix should be reseted in order of 3d to work
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index de81fde1..1c739d45 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -414,7 +414,7 @@ void rlPushMatrix(void)
}
stack[stackCounter] = *currentMatrix;
-// rlLoadIdentity();
+ rlLoadIdentity(); // TODO: Review matrix stack logic!
stackCounter++;
if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true;