summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-06-07 16:50:22 -0500
committerDave Parks <davep@lindenlab.com>2013-06-07 16:50:22 -0500
commitbfbf64f39aefd747a81d48dc7b4eed75443e6dff (patch)
tree186aa52cd81792a2efd6a7c2bc133e988afab881 /indra
parentddf15867e4dd1e3506f0cfd975d9e7aa8f7aab66 (diff)
NORSPEC-230 Fix for incorrect gamma under water.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llwlparamset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llwlparamset.cpp b/indra/newview/llwlparamset.cpp
index 0b5e0235ee..dba3970635 100755
--- a/indra/newview/llwlparamset.cpp
+++ b/indra/newview/llwlparamset.cpp
@@ -129,7 +129,7 @@ void LLWLParamSet::update(LLGLSLShader * shader) const
}
}
- if (LLPipeline::sRenderDeferred && !LLPipeline::sReflectionRender)
+ if (LLPipeline::sRenderDeferred && !LLPipeline::sReflectionRender && !LLPipeline::sUnderWaterRender)
{
shader->uniform1f(LLShaderMgr::GLOBAL_GAMMA, 2.2);
} else {