mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- fixed bad checks for uncapped frame rate.
This commit is contained in:
parent
005f8feceb
commit
d8639a9a64
1 changed files with 3 additions and 3 deletions
|
@ -387,8 +387,8 @@ void Display()
|
||||||
C_DrawConsole();
|
C_DrawConsole();
|
||||||
M_Drawer();
|
M_Drawer();
|
||||||
FStat::PrintStat(twod);
|
FStat::PrintStat(twod);
|
||||||
DrawRateStuff();
|
|
||||||
}
|
}
|
||||||
|
DrawRateStuff();
|
||||||
|
|
||||||
videoShowFrame(1);
|
videoShowFrame(1);
|
||||||
}
|
}
|
||||||
|
@ -450,10 +450,10 @@ void TryRunTics (void)
|
||||||
|
|
||||||
// If paused, do not eat more CPU time than we need, because it
|
// If paused, do not eat more CPU time than we need, because it
|
||||||
// will all be wasted anyway.
|
// will all be wasted anyway.
|
||||||
bool doWait = cl_capfps || pauseext || (r_NoInterpolate && !M_IsAnimated());
|
bool doWait = (cl_capfps || pauseext || (r_NoInterpolate && !M_IsAnimated() && gamestate != GS_INTERMISSION && gamestate != GS_INTRO));
|
||||||
|
|
||||||
// get real tics
|
// get real tics
|
||||||
if (doWait && gamestate != GS_INTERMISSION && gamestate != GS_INTRO) // GS_INTERMISSION needs uncapped frame rate.
|
if (doWait)
|
||||||
{
|
{
|
||||||
entertic = I_WaitForTic (oldentertics);
|
entertic = I_WaitForTic (oldentertics);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue