From 04731e180235963c676301dc1f405c477e46f63a Mon Sep 17 00:00:00 2001 From: Arche Washi Date: Thu, 31 Oct 2024 12:46:28 +0800 Subject: [PATCH] fix typo in #4451 --- src/platforms/rcore_web.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platforms/rcore_web.c b/src/platforms/rcore_web.c index e15d3f5b..f26f922b 100644 --- a/src/platforms/rcore_web.c +++ b/src/platforms/rcore_web.c @@ -667,6 +667,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); }