fixed web platform resize events (#5662)

This commit is contained in:
Thomas Anderson
2026-03-15 17:26:29 -05:00
committed by GitHub
parent 26f329a5e7
commit dfc3f58a06

View File

@@ -1332,7 +1332,7 @@ void PollInputEvents(void)
CORE.Window.currentFbo.width = CORE.Window.render.width;
CORE.Window.currentFbo.height = CORE.Window.render.height;
#elif defined(PLATFORM_WEB_RGFW)
return;
// do nothing but prevent other behavior
#else
SetupViewport(platform.window->w, platform.window->h);