From b8c0842b2e5f783e5f8f0f22e95afb82434d7ec2 Mon Sep 17 00:00:00 2001 From: Asdqwe Date: Wed, 30 Oct 2024 18:21:37 -0300 Subject: [PATCH] Fix SetWindowSize() for PLATFORM_WEB (#4452) --- 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); }