mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 14:56:17 +00:00
Graphics: Fix double calculation being a fixed point division
This commit is contained in:
parent
3ac8f1e8aa
commit
640b01e518
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue