mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-10 01:09:10 -04:00
fixed web platform resize events (#5662)
This commit is contained in:
@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user