summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorSamuel Kolb <skolb@lindenlab.com>2009-12-16 12:04:38 -0800
committerSamuel Kolb <skolb@lindenlab.com>2009-12-16 12:04:38 -0800
commitbedde40e9475f3772807b6fc48c3039d5993f578 (patch)
treeae615503b4c917667a5a0b752dd0a6eca2927e9b /indra/newview/pipeline.cpp
parentd7533a2c0646826088d5c1f58c84604c0607b8aa (diff)
parent0c0cb6fd79d12016b32bb74ce0e9d2c656143902 (diff)
local merge
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp8
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;
}