mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
events: SDL_WaitEvent()'s polling loop now sleeps 1ms instead of 10ms.
Fixes Bugzilla #4356.
This commit is contained in:
parent
d5e378d198
commit
cd8652d8f3
@ -728,7 +728,7 @@ SDL_WaitEventTimeout(SDL_Event * event, int timeout)
|
||||
/* Timeout expired and no events */
|
||||
return 0;
|
||||
}
|
||||
SDL_Delay(10);
|
||||
SDL_Delay(1);
|
||||
break;
|
||||
default:
|
||||
/* Has events */
|
||||
|
Loading…
Reference in New Issue
Block a user