oh hey look i can code without looking at the specs oh wait
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3162 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e79171082f
commit
aac9ba3f4f
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
// yield the CPU for a little while when paused, minimized, or not the focus
|
// yield the CPU for a little while when paused, minimized, or not the focus
|
||||||
if (!(SDL_GetAppState() & SDL_APPACTIVE))
|
if (!(SDL_GetAppState() & SDL_APPACTIVE))
|
||||||
SDL_Wait(1);
|
SDL_Delay(1);
|
||||||
|
|
||||||
newtime = Sys_DoubleTime ();
|
newtime = Sys_DoubleTime ();
|
||||||
time = newtime - oldtime;
|
time = newtime - oldtime;
|
||||||
|
|
Loading…
Reference in a new issue