events: SDL_WaitEvent()'s polling loop now sleeps 1ms instead of 10ms.
Fixes Bugzilla #4356.
This commit is contained in:
parent
1c8dffa9b2
commit
475b1b7bba
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ SDL_WaitEventTimeout(SDL_Event * event, int timeout)
|
||||||
/* Timeout expired and no events */
|
/* Timeout expired and no events */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
SDL_Delay(10);
|
SDL_Delay(1);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Has events */
|
/* Has events */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue