mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-09 10:27:17 +02:00
SDL_WaitEvent() will pump OS events if no poll sentinel is pending, so flush events before inserting a user event to ensure that the user event will be next in the queue.
12 KiB
12 KiB