Skip to content

Commit dfc3f58

Browse files
authored
fixed web platform resize events (#5662)
1 parent 26f329a commit dfc3f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/rcore_desktop_rgfw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ void PollInputEvents(void)
13321332
CORE.Window.currentFbo.width = CORE.Window.render.width;
13331333
CORE.Window.currentFbo.height = CORE.Window.render.height;
13341334
#elif defined(PLATFORM_WEB_RGFW)
1335-
return;
1335+
// do nothing but prevent other behavior
13361336
#else
13371337
SetupViewport(platform.window->w, platform.window->h);
13381338

0 commit comments

Comments
 (0)