summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-28 08:44:09 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:43 +0200
commit68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9 (patch)
tree43edb86a4cf57d7a643b45ef82694e34f56d568e /src/core/main.cpp
parentFix sin & cos calls (diff)
downloadre3-68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9.tar
re3-68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9.tar.gz
re3-68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9.tar.bz2
re3-68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9.tar.lz
re3-68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9.tar.xz
re3-68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9.tar.zst
re3-68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 58db2d34..492f481e 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -1180,7 +1180,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