diff options
author | Runitai <> | 2009-12-15 16:47:48 -0600 |
---|---|---|
committer | Runitai <> | 2009-12-15 16:47:48 -0600 |
commit | a81a2f19b21134fb52df1e1a735988a04aa0688a (patch) | |
tree | d2bc46998372e83e0f7bd75ffab37fa598683c3f /indra/newview | |
parent | 870d4449f5eec1c2a7e5e4627a0433846ab256aa (diff) |
EXT-3488 Fix for sky not being reflected in water any more.
Diffstat (limited to 'indra/newview')
-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; } |