mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-01 06:01:00 +00:00
- change calc_smoothratio()
inline function from int to double that was missed in 0c12436092
.
This commit is contained in:
parent
034d6e129a
commit
11a10c1d87
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ inline bool playrunning()
|
||||||
return (paused == 0 || (paused == 1 && (ud.recstat == 2 || ud.multimode > 1)));
|
return (paused == 0 || (paused == 1 && (ud.recstat == 2 || ud.multimode > 1)));
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int calc_smoothratio(ClockTicks totalclk, ClockTicks ototalclk)
|
inline double calc_smoothratio(ClockTicks totalclk, ClockTicks ototalclk)
|
||||||
{
|
{
|
||||||
double smoothratio = CalcSmoothRatio(totalclk, ototalclk, REALGAMETICSPERSEC);
|
double smoothratio = CalcSmoothRatio(totalclk, ototalclk, REALGAMETICSPERSEC);
|
||||||
return (playrunning() ? smoothratio : MaxSmoothRatio);
|
return (playrunning() ? smoothratio : MaxSmoothRatio);
|
||||||
|
|
Loading…
Reference in a new issue