mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-31 11:19:18 -05:00
reset resizedLastFrame on web platform (#2020)
This commit is contained in:
@ -4717,8 +4717,6 @@ void PollInputEvents(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CORE.Window.resizedLastFrame = false;
|
|
||||||
|
|
||||||
#if defined(SUPPORT_EVENTS_WAITING)
|
#if defined(SUPPORT_EVENTS_WAITING)
|
||||||
glfwWaitEvents();
|
glfwWaitEvents();
|
||||||
#else
|
#else
|
||||||
@ -4726,6 +4724,10 @@ 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)
|
||||||
|
|||||||
Reference in New Issue
Block a user