Graphics: Fix double calculation being a fixed point division

This commit is contained in:
Jonas Kulla 2014-06-12 14:31:29 +02:00
parent 3ac8f1e8aa
commit 640b01e518
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ struct FPSLimiter
: lastTickCount(SDL_GetPerformanceCounter()),
tickFreq(SDL_GetPerformanceFrequency()),
tickFreqMS(tickFreq / 1000),
tickFreqNS(tickFreq / NS_PER_S),
tickFreqNS((double) tickFreq / NS_PER_S),
disabled(false)
{
setDesiredFPS(desiredFPS);