From 412c52499a4288b0b1f1b0626229ebc5ce2b5c27 Mon Sep 17 00:00:00 2001 From: Ray San Date: Wed, 4 Oct 2017 12:13:32 +0200 Subject: [PATCH] Reverted change that breaks 3D drawing It should be reviewed more carefully... --- src/rlgl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rlgl.c b/src/rlgl.c index 5a6b70e51..e1a4a5bed 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;