fix: Way too low sleep target fps

This commit is contained in:
WerWolv
2025-02-24 19:53:07 +01:00
parent 9ebfffd346
commit 899f00ed2f

View File

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