summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2019-02-13 17:49:02 +0100
committerRay <[email protected]>2019-02-13 17:49:02 +0100
commit981be58d0330657d9f7533aec8185b6b743d6405 (patch)
treeb632160783adde1194e892a13046af607b1b95d2 /src
parent297dd641e8b80f962c3db05915b7033d5b2508c6 (diff)
downloadraylib-981be58d0330657d9f7533aec8185b6b743d6405.tar.gz
raylib-981be58d0330657d9f7533aec8185b6b743d6405.zip
Corrected issue #750
Diffstat (limited to 'src')
-rw-r--r--src/core.c4
1 files changed, 4 insertions, 0 deletions
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