summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorrichard <none@none>2009-12-17 09:57:43 -0800
committerrichard <none@none>2009-12-17 09:57:43 -0800
commitcf63ce4dc1176d9df4fe852821e4a6d32332f7c6 (patch)
tree8e77e822118f4979759caab99df48975f79994c7 /indra/newview/pipeline.cpp
parentf452c01915be011814d92dcc1a398f450b6ce9c2 (diff)
parent4dd37a10633c95a9806b608b4db4d0a2d3141a21 (diff)
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;
}