render: default the frame cap to Auto (display refresh - 4)

This commit is contained in:
mchughalex 2026-07-22 11:59:43 +01:00
parent 7b0d690cf3
commit 7329af15a8

View file

@ -45,7 +45,7 @@ REXCVAR_DEFINE_DOUBLE(skate3_guest_fps_cap, 0.0, "Skate 3",
"~1.5 ms before the target, then spin.")
.range(0.0, 1000.0)
.lifecycle(rex::cvar::Lifecycle::kHotReload);
REXCVAR_DEFINE_BOOL(skate3_guest_fps_cap_auto, false, "Skate 3",
REXCVAR_DEFINE_BOOL(skate3_guest_fps_cap_auto, true, "Skate 3",
"Derive the guest frame cap from the display the window is on: "
"cap at (refresh rate - 4) fps, the VRR recipe above, without "
"hand-tuning per monitor. Above the display refresh the extra "