Skip to content

Commit

Permalink
Fix SetWindowSize() for PLATFORM_WEB (#4452)
Browse files Browse the repository at this point in the history
  • Loading branch information
asdqwe authored Oct 30, 2024
1 parent 3bad05a commit b8c0842
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/platforms/rcore_web.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b8c0842

Please sign in to comment.