summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-04-02 15:49:26 -0700
committerGraham Linden <graham@lindenlab.com>2019-04-02 15:49:26 -0700
commit02a4740c1bf5f68810fe2cab226d54236add3892 (patch)
treed8b53c99c9f9eb39b683473be2168484107bb5b4 /indra/newview
parentaccd83cc7e87aff3136c53025ac1eb4bece49d90 (diff)
SL-10853
Fix windlight shader level selection.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewershadermgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index bcc3f83694..28593a43ba 100644
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -481,7 +481,7 @@ void LLViewerShaderMgr::setShaders()
S32 env_class = 2;
S32 obj_class = 2;
S32 effect_class = 2;
- S32 wl_class = 2;
+ S32 wl_class = 1;
S32 water_class = 2;
S32 deferred_class = 0;
S32 transform_class = gGLManager.mHasTransformFeedback ? 1 : 0;
@@ -511,7 +511,7 @@ void LLViewerShaderMgr::setShaders()
break;
}
}
-
+
if (doingWindLight)
{
// user has disabled WindLight in their settings, downgrade