diff options
author | McCabe Maxsted | 2010-05-01 03:32:22 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-09-25 08:15:11 -0700 |
commit | 88c0a4d7be265784aeb6010e42df8632dbf8f88b (patch) | |
tree | d7b65d6f12ae42c84173cd889707012e960d13d6 /linden/indra/newview/lldrawpoolground.cpp | |
parent | Fixed Windows compile bug in 721c25d8. Changed std::max to llmax since Window... (diff) | |
download | meta-impy-88c0a4d7be265784aeb6010e42df8632dbf8f88b.zip meta-impy-88c0a4d7be265784aeb6010e42df8632dbf8f88b.tar.gz meta-impy-88c0a4d7be265784aeb6010e42df8632dbf8f88b.tar.bz2 meta-impy-88c0a4d7be265784aeb6010e42df8632dbf8f88b.tar.xz |
Applied patch by Aleric Inglewood for VWR-12984: Water flickers and disappears in patches, part 1
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lldrawpoolground.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lldrawpoolground.cpp b/linden/indra/newview/lldrawpoolground.cpp index 889b494..c65524b 100644 --- a/linden/indra/newview/lldrawpoolground.cpp +++ b/linden/indra/newview/lldrawpoolground.cpp | |||
@@ -74,7 +74,7 @@ void LLDrawPoolGround::render(S32 pass) | |||
74 | 74 | ||
75 | LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE); | 75 | LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE); |
76 | 76 | ||
77 | LLGLClampToFarClip far_clip(glh_get_current_projection()); | 77 | LLGLSquashToFarClip far_clip(glh_get_current_projection()); |
78 | 78 | ||
79 | F32 water_height = gAgent.getRegion()->getWaterHeight(); | 79 | F32 water_height = gAgent.getRegion()->getWaterHeight(); |
80 | glPushMatrix(); | 80 | glPushMatrix(); |