Browse Source

Corrected issue #750

pull/755/head
Ray 5 years ago
parent
commit
981be58d03
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/core.c

+ 4
- 0
src/core.c View File

@ -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

Loading…
Cancel
Save