diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
