From 8f5bd3e185e147ff1359d1a481dd9a3638a5dc7b Mon Sep 17 00:00:00 2001 From: mausimus <73635663+mausimus@users.noreply.github.com> Date: Sat, 23 Oct 2021 08:52:36 +0000 Subject: [PATCH] web: clear resizedLastFrame (#2077) --- src/rcore.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rcore.c b/src/rcore.c index e3e20d21..2bdc454d 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -4849,6 +4849,10 @@ void PollInputEvents(void) #endif #endif // PLATFORM_DESKTOP +#if defined(PLATFORM_WEB) + CORE.Window.resizedLastFrame = false; +#endif // PLATFORM_WEB + // Gamepad support using emscripten API // NOTE: GLFW3 joystick functionality not available in web #if defined(PLATFORM_WEB)