Skip to content

Commit 04731e1

Browse files
committed
fix typo in raysan5#4451
1 parent b8c0842 commit 04731e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/platforms/rcore_web.c

+3
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,9 @@ 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+
670673
glfwSetWindowSize(platform.handle, width, height);
671674
}
672675

0 commit comments

Comments
 (0)