aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llglheaders.h
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-05-01 03:32:22 -0700
committerMcCabe Maxsted2010-09-25 08:15:11 -0700
commit88c0a4d7be265784aeb6010e42df8632dbf8f88b (patch)
treed7b65d6f12ae42c84173cd889707012e960d13d6 /linden/indra/llrender/llglheaders.h
parentFixed Windows compile bug in 721c25d8. Changed std::max to llmax since Window... (diff)
downloadmeta-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 'linden/indra/llrender/llglheaders.h')
-rw-r--r--linden/indra/llrender/llglheaders.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/llrender/llglheaders.h b/linden/indra/llrender/llglheaders.h
index c7178a5..9e3ae9d 100644
--- a/linden/indra/llrender/llglheaders.h
+++ b/linden/indra/llrender/llglheaders.h
@@ -819,5 +819,15 @@ extern void glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
819 819
820#endif // LL_MESA / LL_WINDOWS / LL_DARWIN 820#endif // LL_MESA / LL_WINDOWS / LL_DARWIN
821 821
822// Even when GL_ARB_depth_clamp is available in the driver, the (correct)
823// headers, and therefore GL_DEPTH_CLAMP might not be defined.
824// In that case GL_DEPTH_CLAMP_NV should be defined, but why not just
825// use the known numeric.
826//
827// To avoid #ifdef's in the code. Just define this here.
828#ifndef GL_DEPTH_CLAMP
829// Probably (still) called GL_DEPTH_CLAMP_NV.
830#define GL_DEPTH_CLAMP 0x864F
831#endif
822 832
823#endif // LL_LLGLHEADERS_H 833#endif // LL_LLGLHEADERS_H