From d119b4206a7a8513d0c387ba8fe903db959346bf Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 5 Oct 2026 05:42:39 +0000 Subject: [PATCH] Declare the repeat-frames checkbox state outside the standalone block The checkbox is drawn on every platform, but its variable was declared only under MKW_VR_STANDALONE, so the Windows runtime failed to compile (settings_overlay.cpp: use of undeclared identifier 'g_vrRepeatFrames'). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_019HBRGKTE1GnN2ah8gcZKr3 --- runtime/src/settings_overlay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/settings_overlay.cpp b/runtime/src/settings_overlay.cpp index 501982c..30ac3c5 100644 --- a/runtime/src/settings_overlay.cpp +++ b/runtime/src/settings_overlay.cpp @@ -157,8 +157,8 @@ constexpr std::array kVrFoveationLabels{"Off", "Low", "Medium", static_assert(kVrFoveationLabels.size() == RuntimeConfigFile::kVrFoveationLevels.size()); int g_vrFoveation = static_cast(RuntimeConfigFile::VrFoveationLevelIndex(RuntimeConfigFile::VrFoveation())); bool g_vrEyeTrackedFoveation = RuntimeConfigFile::VrEyeTrackedFoveation(); -bool g_vrRepeatFrames = RuntimeConfigFile::VrRepeatFrames(); #endif +bool g_vrRepeatFrames = RuntimeConfigFile::VrRepeatFrames(); bool g_vrFirstPerson = RuntimeConfigFile::VrFirstPerson(false); bool g_vrFirstPersonToggleClick = RuntimeConfigFile::VrFirstPersonToggleClick(); // Set from any thread by the right-thumbstick click, applied on the game thread.