summaryrefslogtreecommitdiff
path: root/src/port/Engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/Engine.cpp')
-rw-r--r--src/port/Engine.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp
index e0307752..eeac4b33 100644
--- a/src/port/Engine.cpp
+++ b/src/port/Engine.cpp
@@ -509,11 +509,8 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
time -= fps;
- int threshold = CVarGetInteger("gExtraLatencyThreshold", 80);
-
if (wnd != nullptr) {
wnd->SetTargetFps(fps);
- wnd->SetMaximumFrameLatency(threshold > 0 && target_fps >= threshold ? 2 : 1);
}
// When the gfx debugger is active, only run with the final mtx