1
0
mirror of synced 2025-02-27 06:39:35 +01:00

fix: Way too low sleep target fps

This commit is contained in:
WerWolv 2025-02-24 19:53:07 +01:00
parent f96fa596b3
commit 602c85b57d

View File

@ -1213,7 +1213,7 @@ namespace hex {
if (m_remainingUnlockedTime > std::chrono::nanoseconds(0)) { if (m_remainingUnlockedTime > std::chrono::nanoseconds(0)) {
m_remainingUnlockedTime -= iterationTime; m_remainingUnlockedTime -= iterationTime;
} else { } else {
targetFps = 0.01; targetFps = 5;
} }
requestedFrameTime = (Duration(1.0E9) / targetFps) / 1.3; requestedFrameTime = (Duration(1.0E9) / targetFps) / 1.3;