diff options
author | richard <none@none> | 2009-12-17 09:57:43 -0800 |
---|---|---|
committer | richard <none@none> | 2009-12-17 09:57:43 -0800 |
commit | cf63ce4dc1176d9df4fe852821e4a6d32332f7c6 (patch) | |
tree | 8e77e822118f4979759caab99df48975f79994c7 /indra/newview/pipeline.cpp | |
parent | f452c01915be011814d92dcc1a398f450b6ce9c2 (diff) | |
parent | 4dd37a10633c95a9806b608b4db4d0a2d3141a21 (diff) |
merge
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 282eddf380..73b5222ee3 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -7268,13 +7268,7 @@ void LLPipeline::generateWaterReflection(LLCamera& camera_in) updateCull(camera, ref_result, 1); stateSort(camera, ref_result); } - else - { - gGL.setColorMask(true, true); - mWaterRef.clear(); - gGL.setColorMask(true, false); - } - + ref_mask = mRenderTypeMask; mRenderTypeMask = mask; } |