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:45:48 +0200 |
commit | 776e8ff2eeb96a068383f5802e0d86f56b69c1f0 (patch) | |
tree | 4ce647151b3b9205cb7480416f175826a1aa97c4 /src/core/main.cpp | |
parent | Fix sin & cos calls (diff) | |
download | re3-776e8ff2eeb96a068383f5802e0d86f56b69c1f0.tar re3-776e8ff2eeb96a068383f5802e0d86f56b69c1f0.tar.gz re3-776e8ff2eeb96a068383f5802e0d86f56b69c1f0.tar.bz2 re3-776e8ff2eeb96a068383f5802e0d86f56b69c1f0.tar.lz re3-776e8ff2eeb96a068383f5802e0d86f56b69c1f0.tar.xz re3-776e8ff2eeb96a068383f5802e0d86f56b69c1f0.tar.zst re3-776e8ff2eeb96a068383f5802e0d86f56b69c1f0.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 e8188cec..8267a1b2 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -1149,7 +1149,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 |