diff options
Diffstat (limited to 'src/platforms/rcore_desktop.c')
| -rw-r--r-- | src/platforms/rcore_desktop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platforms/rcore_desktop.c b/src/platforms/rcore_desktop.c index 6fe054a8..bb3fcf4f 100644 --- a/src/platforms/rcore_desktop.c +++ b/src/platforms/rcore_desktop.c @@ -666,6 +666,9 @@ void SetWindowMaxSize(int width, int height) // Set window dimensions void SetWindowSize(int width, int height) { + CORE.Window.screen.width = width; + CORE.Window.screen.height = height; + glfwSetWindowSize(platform.handle, width, height); } |
