From 71de55d3bd0cb4a00a562961860ea495f8734f92 Mon Sep 17 00:00:00 2001 From: Spodi Date: Fri, 28 Mar 2025 20:40:38 +0100 Subject: Remove jitter fix slider LUS defaults to always on now (if not set by the port). And this option was confusing for most users. Might increase input latency by one frame, when V-Sync is on and FPS is even above the refresh rate for a moment. (Normal behavior with jitter fix on). --- src/port/Engine.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/port/Engine.cpp') 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 -- cgit v1.2.3