mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
pump events before flush (#862)
This commit is contained in:
@@ -741,6 +741,7 @@ pub fn configure_input_profile(
|
||||
|
||||
for (key, value) in key_labels.iter() {
|
||||
unsafe {
|
||||
sdl3_sys::events::SDL_PumpEvents();
|
||||
sdl3_sys::events::SDL_FlushEvents(
|
||||
u32::from(sdl3_sys::events::SDL_EVENT_FIRST),
|
||||
u32::from(sdl3_sys::events::SDL_EVENT_LAST),
|
||||
|
||||
Reference in New Issue
Block a user