mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-29 12:57:25 +02:00
checkkeys: Sleeping for 100ms every frame makes the program too unresponsive.
Makes it feel like there's a bug in SDL's text input handling. 10ms is fine.
(cherry picked from commit 7212ab1c2a)
This commit is contained in:
committed by
Ozkan Sezer
parent
0013e9e1d3
commit
affc61cc5e
@@ -434,7 +434,7 @@ static void loop(void)
|
||||
}
|
||||
|
||||
/* Slow down framerate */
|
||||
SDL_Delay(100);
|
||||
SDL_Delay(10);
|
||||
|
||||
#ifdef SDL_PLATFORM_EMSCRIPTEN
|
||||
if (done) {
|
||||
|
||||
Reference in New Issue
Block a user