diff libvo/gl_common.h @ 34969:7974179b9471

Add support for depth textures to simplify some experiments.
author reimar
date Tue, 07 Aug 2012 21:39:47 +0000
parents 4e749c1bbf49
children 78bf01276896
line wrap: on
line diff
--- a/libvo/gl_common.h	Tue Aug 07 17:46:36 2012 +0000
+++ b/libvo/gl_common.h	Tue Aug 07 21:39:47 2012 +0000
@@ -269,6 +269,9 @@
 #ifndef GL_LUMINANCE16
 #define GL_LUMINANCE16 0x8042
 #endif
+#ifndef GL_DEPTH_COMPONENT
+#define GL_DEPTH_COMPONENT 0x1902
+#endif
 #ifndef GL_UNPACK_CLIENT_STORAGE_APPLE
 #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
 #endif