fix: Way too low sleep target fps
This commit is contained in:
parent
f96fa596b3
commit
602c85b57d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user