From 654189590194c3a854f09d76bfe60bd754870568 Mon Sep 17 00:00:00 2001 From: mausimus <73635663+mausimus@users.noreply.github.com> Date: Mon, 4 Oct 2021 07:47:41 +0000 Subject: [PATCH] Revert "reset resizedLastFrame on web platform (#2020)" (#2032) --- src/rcore.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rcore.c b/src/rcore.c index 7b16e7f74..3d89338c4 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -4724,6 +4724,8 @@ void PollInputEvents(void) } } + CORE.Window.resizedLastFrame = false; + #if defined(SUPPORT_EVENTS_WAITING) glfwWaitEvents(); #else @@ -4731,10 +4733,6 @@ void PollInputEvents(void) #endif #endif // PLATFORM_DESKTOP -#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB) - CORE.Window.resizedLastFrame = false; -#endif - // Gamepad support using emscripten API // NOTE: GLFW3 joystick functionality not available in web #if defined(PLATFORM_WEB)