summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-10-19 17:41:02 -0500
committerDave Parks <davep@lindenlab.com>2011-10-19 17:41:02 -0500
commit250ab43e4e70ccd9218d32c5dcbde35599c9735b (patch)
tree7556da6f559475774d630f4266de00f602e43f21 /indra/newview/llfloaterpreference.cpp
parentf19f43c74606e1f158cdabe9e783f9c82386b7b7 (diff)
SH-2571 Add shader driven render for low detail terrain.
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rwxr-xr-xindra/newview/llfloaterpreference.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index 7f6d0155e2..92c4214fdb 100755
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -1039,16 +1039,8 @@ void LLFloaterPreference::refreshEnabledState()
BOOL shaders = gGLManager.mGLVersion >= 2.f;
- if (shaders)
- {
- mRadioTerrainDetail->setValue(1);
- mRadioTerrainDetail->setEnabled(FALSE);
- }
- else
- {
- mRadioTerrainDetail->setEnabled(TRUE);
- }
-
+ mRadioTerrainDetail->setEnabled(TRUE);
+
// WindLight
LLCheckBoxCtrl* ctrl_wind_light = getChild<LLCheckBoxCtrl>("WindLightUseAtmosShaders");