From cd8652d8f3850f8d4cba7e81a2124557ca119f7a Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 15 Oct 2019 01:13:44 -0400 Subject: [PATCH] events: SDL_WaitEvent()'s polling loop now sleeps 1ms instead of 10ms. Fixes Bugzilla #4356. --- src/events/SDL_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/SDL_events.c b/src/events/SDL_events.c index fad156389..8cc791897 100644 --- a/src/events/SDL_events.c +++ b/src/events/SDL_events.c @@ -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 */