fixed web platform resize events

This commit is contained in:
CrackedPixel 2026-03-15 15:20:59 -05:00
parent 26f329a5e7
commit e44d94c194

View File

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