diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-05 12:13:27 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:34:33 +0200 |
commit | fad64667a7b0199786a6c031248ad726fdc9d22d (patch) | |
tree | b669d06ed09dae469d6a6054d97d81835fda213e /src/core/main.cpp | |
parent | Fix sin & cos calls (diff) | |
download | re3-fad64667a7b0199786a6c031248ad726fdc9d22d.tar re3-fad64667a7b0199786a6c031248ad726fdc9d22d.tar.gz re3-fad64667a7b0199786a6c031248ad726fdc9d22d.tar.bz2 re3-fad64667a7b0199786a6c031248ad726fdc9d22d.tar.lz re3-fad64667a7b0199786a6c031248ad726fdc9d22d.tar.xz re3-fad64667a7b0199786a6c031248ad726fdc9d22d.tar.zst re3-fad64667a7b0199786a6c031248ad726fdc9d22d.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index 2221b691..90efdb62 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -1135,7 +1135,7 @@ DisplayGameDebugText() FramesPerSecondCounter += frameTime / 1000.f; // convert to seconds FramesPerSecond = FrameSamples / FramesPerSecondCounter; #else - FramesPerSecondCounter += 1000.0f / (CTimer::GetTimeStepNonClippedInSeconds() * 1000.0f); + FramesPerSecondCounter += 1000.0f / CTimer::GetTimeStepNonClippedInMilliseconds(); FramesPerSecond = FramesPerSecondCounter / FrameSamples; #endif |