Graphics: Fix double calculation being a fixed point division
This commit is contained in:
parent
3ac8f1e8aa
commit
640b01e518
|
@ -276,7 +276,7 @@ struct FPSLimiter
|
||||||
: lastTickCount(SDL_GetPerformanceCounter()),
|
: lastTickCount(SDL_GetPerformanceCounter()),
|
||||||
tickFreq(SDL_GetPerformanceFrequency()),
|
tickFreq(SDL_GetPerformanceFrequency()),
|
||||||
tickFreqMS(tickFreq / 1000),
|
tickFreqMS(tickFreq / 1000),
|
||||||
tickFreqNS(tickFreq / NS_PER_S),
|
tickFreqNS((double) tickFreq / NS_PER_S),
|
||||||
disabled(false)
|
disabled(false)
|
||||||
{
|
{
|
||||||
setDesiredFPS(desiredFPS);
|
setDesiredFPS(desiredFPS);
|
||||||
|
|
Loading…
Reference in New Issue