diff --git a/src/rcore.c b/src/rcore.c index 7b16e7f7..3d89338c 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)