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:
Ryan C. Gordon
2026-04-28 08:08:15 -04:00
committed by Ozkan Sezer
parent 0013e9e1d3
commit affc61cc5e

View File

@@ -434,7 +434,7 @@ static void loop(void)
}
/* Slow down framerate */
SDL_Delay(100);
SDL_Delay(10);
#ifdef SDL_PLATFORM_EMSCRIPTEN
if (done) {