mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
NVIDIA: limit to 1 sleep per frame
The purpose of this bool was to only limit nv sleep to 1 per frame, but the bool was never reset.
This commit is contained in:
parent
8791745ad4
commit
af8a3add00
@ -247,6 +247,7 @@ bool CEngineAPI::MainLoop()
|
|||||||
#ifndef DEDICATED
|
#ifndef DEDICATED
|
||||||
if (bRunLowLatency) {
|
if (bRunLowLatency) {
|
||||||
CEngineAPI::RunLowLatencyFrame();
|
CEngineAPI::RunLowLatencyFrame();
|
||||||
|
bRunLowLatency = false;
|
||||||
}
|
}
|
||||||
CEngineAPI::PumpMessages();
|
CEngineAPI::PumpMessages();
|
||||||
#endif // !DEDICATED
|
#endif // !DEDICATED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user