summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunitai <>2009-12-15 16:47:48 -0600
committerRunitai <>2009-12-15 16:47:48 -0600
commita81a2f19b21134fb52df1e1a735988a04aa0688a (patch)
treed2bc46998372e83e0f7bd75ffab37fa598683c3f
parent870d4449f5eec1c2a7e5e4627a0433846ab256aa (diff)
EXT-3488 Fix for sky not being reflected in water any more.
-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;
}