changeset 34970:78bf01276896

Add fallback defines for GL_DEPTH_TEXTURE_MODE and GL_TEXTURE_COMPARE_MODE.
author reimar
date Wed, 08 Aug 2012 05:38:30 +0000
parents 7974179b9471
children 7e818f6eadd8
files libvo/gl_common.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.h	Tue Aug 07 21:39:47 2012 +0000
+++ b/libvo/gl_common.h	Wed Aug 08 05:38:30 2012 +0000
@@ -272,6 +272,12 @@
 #ifndef GL_DEPTH_COMPONENT
 #define GL_DEPTH_COMPONENT 0x1902
 #endif
+#ifndef GL_DEPTH_TEXTURE_MODE
+#define GL_DEPTH_TEXTURE_MODE 0x884B
+#endif
+#ifndef GL_TEXTURE_COMPARE_MODE
+#define GL_TEXTURE_COMPARE_MODE 0x884C
+#endif
 #ifndef GL_UNPACK_CLIENT_STORAGE_APPLE
 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
 #endif