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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}