changeset 30032:ba530eb3b2f7

Define GL_GENERATE_MIPMAP ourselves if necessary.
author reimar
date Sat, 19 Dec 2009 21:07:42 +0000
parents 402038079faa
children 241686e5cf5a
files libvo/gl_common.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.h	Sat Dec 19 20:59:58 2009 +0000
+++ b/libvo/gl_common.h	Sat Dec 19 21:07:42 2009 +0000
@@ -67,6 +67,9 @@
 #ifndef GL_CLAMP_TO_EDGE
 #define GL_CLAMP_TO_EDGE 0x812F
 #endif
+#ifndef GL_GENERATE_MIPMAP
+#define GL_GENERATE_MIPMAP 0x8191
+#endif
 #ifndef GL_REGISTER_COMBINERS_NV
 #define GL_REGISTER_COMBINERS_NV 0x8522
 #endif