give a bit more time when we don't have focus

This commit is contained in:
Glenn Maynard
2003-03-06 23:08:21 +00:00
parent 2fdc892e98
commit 0b22378211
+1 -1
View File
@@ -594,6 +594,6 @@ static void GameLoop()
if(g_bHasFocus)
SDL_Delay( 0 ); // give some time to other processes and threads
else
SDL_Delay( 5 ); // give some time to other processes and threads
SDL_Delay( 10 );// give some time to other processes and threads
}
}