summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsitton76 <58642183+sitton76@users.noreply.github.com>2025-05-20 16:09:51 -0500
committersitton76 <58642183+sitton76@users.noreply.github.com>2025-05-20 16:09:51 -0500
commit939064476c3bb774afd12d108081296cb4dc07dd (patch)
tree69e23152924f3c4c2173f0dd0b070344e0599e0a
parentf18d01f1f1811fa2df9ce7845b0e40d5b6cc2c6b (diff)
Fixed "Match Refresh Rate" option
-rw-r--r--src/port/Engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp
index c8734fab4..15acab0ac 100644
--- a/src/port/Engine.cpp
+++ b/src/port/Engine.cpp
@@ -385,7 +385,7 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
auto wnd = std::dynamic_pointer_cast<Fast::Fast3dWindow>(Ship::Context::GetInstance()->GetWindow());
if (wnd != nullptr) {
- wnd->SetTargetFps(CVarGetInteger("gInterpolationFPS", 30));
+ wnd->SetTargetFps(GetInterpolationFPS());
wnd->SetMaximumFrameLatency(1);
}
RunCommands(commands, mtx_replacements);