Fix SetWindowSize() for PLATFORM_WEB

This commit is contained in:
asdqwe 2024-10-30 17:43:31 -03:00
parent 3bad05aa7b
commit 5eddf87c8d

View File

@ -667,9 +667,6 @@ 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);
} }