From 5eddf87c8da64e3019f6d935712732501f3cc7bf Mon Sep 17 00:00:00 2001 From: asdqwe Date: Wed, 30 Oct 2024 17:43:31 -0300 Subject: [PATCH] Fix SetWindowSize() for PLATFORM_WEB --- src/platforms/rcore_web.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/platforms/rcore_web.c b/src/platforms/rcore_web.c index 15c0918d..e15d3f5b 100644 --- a/src/platforms/rcore_web.c +++ b/src/platforms/rcore_web.c @@ -667,9 +667,6 @@ 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); }