Browse Source

Fix SetWindowSize() for PLATFORM_WEB (#4452)

Asdqwe 10 months ago
parent
commit
b8c0842b2e
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/platforms/rcore_web.c

+ 0 - 3
src/platforms/rcore_web.c

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