summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreferencesgraphicsadvanced.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-12-04 20:36:05 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-12-05 18:59:59 +0200
commit396b97aebfb3294287a4a598f0be3900ccada69a (patch)
tree938755d2ea0cbcfc02009f2961c2f93b686ef9ed /indra/newview/llfloaterpreferencesgraphicsadvanced.cpp
parent0dccb322ef30de1a6936a2286bae696f988224ab (diff)
viewer-private#330 Fix LLCachedControl for vintage
Diffstat (limited to 'indra/newview/llfloaterpreferencesgraphicsadvanced.cpp')
-rw-r--r--indra/newview/llfloaterpreferencesgraphicsadvanced.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreferencesgraphicsadvanced.cpp b/indra/newview/llfloaterpreferencesgraphicsadvanced.cpp
index cc4ca611ab..cf5b2d033b 100644
--- a/indra/newview/llfloaterpreferencesgraphicsadvanced.cpp
+++ b/indra/newview/llfloaterpreferencesgraphicsadvanced.cpp
@@ -321,7 +321,7 @@ void LLFloaterPreferenceGraphicsAdvanced::disableUnavailableSettings()
}
// Vintage mode
- LLCachedControl<bool> is_not_vintage(gSavedSettings, "RenderDisableVintageMode");
+ static LLCachedControl<bool> is_not_vintage(gSavedSettings, "RenderDisableVintageMode");
LLSliderCtrl* tonemapMix = getChild<LLSliderCtrl>("TonemapMix");
LLComboBox* tonemapSelect = getChild<LLComboBox>("TonemapType");
LLTextBox* tonemapLabel = getChild<LLTextBox>("TonemapTypeText");