summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lldrawpoolwater.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/indra/newview/lldrawpoolwater.cpp b/indra/newview/lldrawpoolwater.cpp
index 4dd0d3ec98..56f3b75792 100644
--- a/indra/newview/lldrawpoolwater.cpp
+++ b/indra/newview/lldrawpoolwater.cpp
@@ -718,12 +718,11 @@ void LLDrawPoolWater::shade()
sNeedsDistortionUpdate = TRUE;
face->renderIndexed();
}
- // MAINT-9006 using squash clip even for deferred keeps
- // horizon consistent between ALM and non-ALM rendering
- // I can't think of a reason we'd want to avoid it. - g
- //else if (gGLManager.mHasDepthClamp || deferred_render)
- else if (gGLManager.mHasDepthClamp)
- {
+ // using squash clip for deferred rendering makes the horizon lines match
+ // between ALM and non-ALM rendering (SL-1655), but introduces an ugly seem between
+ // near and far water(SL-9696)...we're going to live with the former and not cause the latter
+ else if (gGLManager.mHasDepthClamp || deferred_render)
+ {
face->renderIndexed();
}
else