# HG changeset patch # User reimar # Date 1261256862 0 # Node ID ba530eb3b2f7a0e4bc7766ca87f5a7bc42ed020a # Parent 402038079faab043c7f7ea54454185dcfa1ed64a Define GL_GENERATE_MIPMAP ourselves if necessary. diff -r 402038079faa -r ba530eb3b2f7 libvo/gl_common.h --- 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