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:
Kawe Mazidjatari 2023-12-25 22:36:35 +01:00
parent 8791745ad4
commit af8a3add00

View File

@ -247,6 +247,7 @@ bool CEngineAPI::MainLoop()
#ifndef DEDICATED
if (bRunLowLatency) {
CEngineAPI::RunLowLatencyFrame();
bRunLowLatency = false;
}
CEngineAPI::PumpMessages();
#endif // !DEDICATED