summaryrefslogtreecommitdiff
path: root/indra/newview/llwlparamset.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-02-08 15:14:03 -0600
committerDave Parks <davep@lindenlab.com>2012-02-08 15:14:03 -0600
commitc6acd4723526ed82e79dccef18aaf4821e53dfeb (patch)
tree1bb9e2f73ea8860f92f5668a77107cf8e421977b /indra/newview/llwlparamset.cpp
parentbb1a1f9d01fdbc377ca61f52041f66a86b974086 (diff)
SH-2592 Fix for some shader uniforms using the wrong vector size.
Diffstat (limited to 'indra/newview/llwlparamset.cpp')
-rw-r--r--indra/newview/llwlparamset.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llwlparamset.cpp b/indra/newview/llwlparamset.cpp
index 1e95b3ea4a..b04d30db55 100644
--- a/indra/newview/llwlparamset.cpp
+++ b/indra/newview/llwlparamset.cpp
@@ -75,9 +75,9 @@ void LLWLParamSet::update(LLGLSLShader * shader) const
stop_glerror();
}
else if (param == "cloud_scale" || param == "cloud_shadow" ||
- param == "density_multiplier" ||
+ param == "density_multiplier" || param == "distance_multiplier" ||
param == "haze_density" || param == "haze_horizon" ||
- param == "max_y")
+ param == "max_y" )
{
F32 val = (F32) i->second[0].asReal();