diff options
author | Dave Parks <davep@lindenlab.com> | 2013-06-07 16:50:22 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-06-07 16:50:22 -0500 |
commit | bfbf64f39aefd747a81d48dc7b4eed75443e6dff (patch) | |
tree | 186aa52cd81792a2efd6a7c2bc133e988afab881 /indra/newview/llwlparamset.cpp | |
parent | ddf15867e4dd1e3506f0cfd975d9e7aa8f7aab66 (diff) |
NORSPEC-230 Fix for incorrect gamma under water.
Diffstat (limited to 'indra/newview/llwlparamset.cpp')
-rwxr-xr-x | indra/newview/llwlparamset.cpp | 2 |
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 { |