From 981be58d0330657d9f7533aec8185b6b743d6405 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 13 Feb 2019 17:49:02 +0100 Subject: [PATCH] Corrected issue #750 --- src/core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core.c b/src/core.c index 863e53fd..0fdb195a 100644 --- a/src/core.c +++ b/src/core.c @@ -1254,6 +1254,10 @@ void EndTextureMode(void) rlMatrixMode(RL_MODELVIEW); // Switch back to MODELVIEW matrix rlLoadIdentity(); // Reset current matrix (MODELVIEW) + + // Reset current screen size + currentWidth = GetScreenWidth(); + currentHeight = GetScreenHeight(); } // Returns a ray trace from mouse position