fix a bug in windows framerate throttling which made frameskip auto unable to skip frames.
This commit is contained in:
parent
1d71a7d4b7
commit
990c2a062e
|
@ -82,7 +82,7 @@ waiter:
|
||||||
if( (ttime-ltime) >= (tfreq/desiredfps) ) // Oops, we're behind!
|
if( (ttime-ltime) >= (tfreq/desiredfps) ) // Oops, we're behind!
|
||||||
{
|
{
|
||||||
behind = true;
|
behind = true;
|
||||||
return(1);
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return(0);
|
return(0);
|
||||||
|
|
Loading…
Reference in New Issue