diff options
author | Dave Parks <davep@lindenlab.com> | 2012-02-08 15:14:03 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-02-08 15:14:03 -0600 |
commit | c6acd4723526ed82e79dccef18aaf4821e53dfeb (patch) | |
tree | 1bb9e2f73ea8860f92f5668a77107cf8e421977b /indra/newview/llwlparamset.cpp | |
parent | bb1a1f9d01fdbc377ca61f52041f66a86b974086 (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.cpp | 4 |
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(); |