From c5023899c266dde59780f0436633ae242700d634 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Sun, 24 Nov 2024 18:40:23 -0300 Subject: [PATCH] move starfield interpolation disable option to graphics --- src/port/ui/ImguiUI.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp index 6dc8d86f..e7e25a39 100644 --- a/src/port/ui/ImguiUI.cpp +++ b/src/port/ui/ImguiUI.cpp @@ -302,6 +302,10 @@ void DrawSettingsMenu(){ UIWidgets::Tooltip("When Interpolation FPS setting is at least this threshold, add one frame of input lag (e.g. 16.6 ms for 60 FPS) in order to avoid jitter. This setting allows the CPU to work on one frame while GPU works on the previous frame.\nThis setting should be used when your computer is too slow to do CPU + GPU work in time."); } + UIWidgets::CVarCheckbox("Disable Starfield interpolation", "gDisableStarsInterpolation", { + .tooltip = "Disable starfield interpolation to increase performance on slower CPUs" + }); + UIWidgets::PaddedSeparator(true, true, 3.0f, 3.0f); @@ -517,10 +521,6 @@ void DrawDebugMenu() { "WARNING: Spawning an object that's not loaded in memory will likely result in a crash." }); - UIWidgets::CVarCheckbox("Disable stars interpolation", "gDisableStarsInterpolation", { - .tooltip = "Disable starfield interpolation for performance" - }); - UIWidgets::CVarCheckbox("Jump To Map", "gDebugJumpToMap", { .tooltip = "Press Z + R + C-UP to get back to the map" });