diff options
author | Dave Parks <davep@lindenlab.com> | 2012-03-08 15:23:19 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-03-08 15:23:19 -0600 |
commit | 5d914f475b9cc315d819653601144764993a32c8 (patch) | |
tree | 33f161638ae9cc9b4d5aa73c9814b102d05ad18d /indra/newview/llfloaterhardwaresettings.cpp | |
parent | 5e74293b0cfe562e8e3184217f27b3e86afe5277 (diff) | |
parent | 83e69659e2c950bec02df8c8e1b15fbc34ca1dc6 (diff) |
merge
Diffstat (limited to 'indra/newview/llfloaterhardwaresettings.cpp')
-rw-r--r-- | indra/newview/llfloaterhardwaresettings.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloaterhardwaresettings.cpp b/indra/newview/llfloaterhardwaresettings.cpp index f9a403cf9f..e8f1d58df8 100644 --- a/indra/newview/llfloaterhardwaresettings.cpp +++ b/indra/newview/llfloaterhardwaresettings.cpp @@ -99,6 +99,12 @@ void LLFloaterHardwareSettings::refreshEnabledState() getChildView("vbo")->setEnabled(FALSE); } + if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderCompressTextures") || + !gGLManager.mHasVertexBufferObject) + { + getChildView("texture compression")->setEnabled(FALSE); + } + // if no windlight shaders, turn off nighttime brightness, gamma, and fog distance LLSpinCtrl* gamma_ctrl = getChild<LLSpinCtrl>("gamma"); gamma_ctrl->setEnabled(!gPipeline.canUseWindLightShaders()); |