Skip to content

Commit b8c0842

Browse files
authored
Fix SetWindowSize() for PLATFORM_WEB (#4452)
1 parent 3bad05a commit b8c0842

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/platforms/rcore_web.c

-3
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,6 @@ void SetWindowMaxSize(int width, int height)
667667
// Set window dimensions
668668
void SetWindowSize(int width, int height)
669669
{
670-
CORE.Window.screen.width = width;
671-
CORE.Window.Screen.height = height;
672-
673670
glfwSetWindowSize(platform.handle, width, height);
674671
}
675672

0 commit comments

Comments
 (0)