Give 1ms instead of 0, since 0 may not give any time at all. Let's see

if this helps keyboard lag.

I could swear I tried this, but CVS says otherwise ...
This commit is contained in:
Glenn Maynard
2003-04-21 07:43:39 +00:00
parent 6199255010
commit 8bbb884204
+1 -1
View File
@@ -576,7 +576,7 @@ static void GameLoop()
DISPLAY->Flip();
if(g_bHasFocus)
SDL_Delay( 0 ); // give some time to other processes and threads
SDL_Delay( 1 ); // give some time to other processes and threads
else
SDL_Delay( 10 );// give some time to other processes and threads
}