fixed issue with GetScreenWidth/GetScreenHeight (#4074)

This commit is contained in:
Anthony Carbajal
2024-06-17 06:42:53 -05:00
committed by GitHub
parent dcf2f6a8e9
commit 52f2a10db6

View File

@@ -666,6 +666,9 @@ void SetWindowMaxSize(int width, int height)
// Set window dimensions // Set window dimensions
void SetWindowSize(int width, int height) void SetWindowSize(int width, int height)
{ {
CORE.Window.screen.width = width;
CORE.Window.screen.height = height;
glfwSetWindowSize(platform.handle, width, height); glfwSetWindowSize(platform.handle, width, height);
} }