summaryrefslogtreecommitdiff
path: root/indra/newview/llwaterparammanager.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
commitd10bcca167e2d4332dced910660aa1a6a85bc175 (patch)
tree732ce24e89d5156b1af150de5358686eb175ceb7 /indra/newview/llwaterparammanager.cpp
parent95be0571537805c238e37e747c4c3bb298be98d8 (diff)
SH-2592 Fix for some shader uniforms using the wrong vector size.
Diffstat (limited to 'indra/newview/llwaterparammanager.cpp')
-rw-r--r--indra/newview/llwaterparammanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llwaterparammanager.cpp b/indra/newview/llwaterparammanager.cpp
index 20b34637b8..e386112334 100644
--- a/indra/newview/llwaterparammanager.cpp
+++ b/indra/newview/llwaterparammanager.cpp
@@ -194,7 +194,7 @@ void LLWaterParamManager::updateShaderUniforms(LLGLSLShader * shader)
shader->uniform4fv("waterPlane", 1, mWaterPlane.mV);
shader->uniform1f("waterFogDensity", getFogDensity());
shader->uniform1f("waterFogKS", mWaterFogKS);
- shader->uniform4f("distance_multiplier", 0, 0, 0, 0);
+ shader->uniform1f("distance_multiplier", 0);
}
}