diff options
author | Samuel Kolb <skolb@lindenlab.com> | 2009-12-16 12:04:38 -0800 |
---|---|---|
committer | Samuel Kolb <skolb@lindenlab.com> | 2009-12-16 12:04:38 -0800 |
commit | bedde40e9475f3772807b6fc48c3039d5993f578 (patch) | |
tree | ae615503b4c917667a5a0b752dd0a6eca2927e9b /indra/newview/pipeline.cpp | |
parent | d7533a2c0646826088d5c1f58c84604c0607b8aa (diff) | |
parent | 0c0cb6fd79d12016b32bb74ce0e9d2c656143902 (diff) |
local 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; } |