Skip to content

Commit

Permalink
events: SDL_WaitEvent()'s polling loop now sleeps 1ms instead of 10ms.
Browse files Browse the repository at this point in the history
Fixes Bugzilla #4356.
  • Loading branch information
icculus committed Oct 15, 2019
1 parent d5e378d commit cd8652d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/SDL_events.c
Expand Up @@ -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 */
Expand Down

0 comments on commit cd8652d

Please sign in to comment.