mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-05 13:28:01 +03:00
Pump events in sys_sleep()
This allows handling window events while fading etc.
This commit is contained in:
@@ -409,6 +409,7 @@ void NACT::wait_after_open_menu()
|
||||
}
|
||||
|
||||
void NACT::sys_sleep(int ms) {
|
||||
pump_events();
|
||||
ags->update_screen();
|
||||
SDL_Delay(ms);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user