diff options
author | Dave Parks <davep@lindenlab.com> | 2022-08-30 10:46:36 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-08-30 10:46:36 -0500 |
commit | 197ac7cc2048fe4c259858f48946cd954782dfc2 (patch) | |
tree | d838e4708ede7d910680b00932b5777d5967838a /indra/newview/llfloaterpreference.cpp | |
parent | 302bf29242ef1acd6ef984d78c918a6f4b092a0a (diff) | |
parent | 14af7cabdb80e1de0f5cb2c7e299bd61bc3321cc (diff) |
Merge remote-tracking branch 'remotes/origin/DRTVWR-563' into DRTVWR-559
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rw-r--r-- | indra/newview/llfloaterpreference.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index f1db12ddb0..34596d165b 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -1225,12 +1225,7 @@ void LLFloaterPreferenceGraphicsAdvanced::refreshEnabledState() shadow_text->setEnabled(enabled); // Hardware settings - F32 mem_multiplier = gSavedSettings.getF32("RenderTextureMemoryMultiple"); - S32Megabytes min_tex_mem = LLViewerTextureList::getMinVideoRamSetting(); - S32Megabytes max_tex_mem = LLViewerTextureList::getMaxVideoRamSetting(false, mem_multiplier); - getChild<LLSliderCtrl>("GraphicsCardTextureMemory")->setMinValue(min_tex_mem.value()); - getChild<LLSliderCtrl>("GraphicsCardTextureMemory")->setMaxValue(max_tex_mem.value()); - + if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderVBOEnable") || !gGLManager.mHasVertexBufferObject) { |