Revert "reset resizedLastFrame on web platform (#2020)" (#2032)

This commit is contained in:
mausimus 2021-10-04 07:47:41 +00:00 committed by GitHub
parent 5d8c477d12
commit 6541895901
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4724,6 +4724,8 @@ void PollInputEvents(void)
} }
} }
CORE.Window.resizedLastFrame = false;
#if defined(SUPPORT_EVENTS_WAITING) #if defined(SUPPORT_EVENTS_WAITING)
glfwWaitEvents(); glfwWaitEvents();
#else #else
@ -4731,10 +4733,6 @@ void PollInputEvents(void)
#endif #endif
#endif // PLATFORM_DESKTOP #endif // PLATFORM_DESKTOP
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
CORE.Window.resizedLastFrame = false;
#endif
// Gamepad support using emscripten API // Gamepad support using emscripten API
// NOTE: GLFW3 joystick functionality not available in web // NOTE: GLFW3 joystick functionality not available in web
#if defined(PLATFORM_WEB) #if defined(PLATFORM_WEB)