diff options
author | Merov Linden <merov@lindenlab.com> | 2010-09-30 22:57:05 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2010-09-30 22:57:05 -0700 |
commit | c7b6ebaf762ba9bcdf64c6bc3b1e0fb81356c5b2 (patch) | |
tree | 2a17359f6416b0f5c8f0d9632b390eef348a056b /indra/newview/lldrawpoolsky.cpp | |
parent | df67c34b42837a782ee76f71d1a63fe93ea0ec08 (diff) |
Port of SNOW-643 : Water flicker at high altitude. This doesn't fix the low altitude flicker though (STORM-306)
Diffstat (limited to 'indra/newview/lldrawpoolsky.cpp')
-rw-r--r-- | indra/newview/lldrawpoolsky.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp index d811ab8c54..9eb45a952c 100644 --- a/indra/newview/lldrawpoolsky.cpp +++ b/indra/newview/lldrawpoolsky.cpp @@ -97,7 +97,7 @@ void LLDrawPoolSky::render(S32 pass) LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE); - LLGLClampToFarClip far_clip(glh_get_current_projection()); + LLGLSquashToFarClip far_clip(glh_get_current_projection()); LLGLEnable fog_enable( (mVertexShaderLevel < 1 && LLViewerCamera::getInstance()->cameraUnderWater()) ? GL_FOG : 0); |