diff options
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h index d2592b2f4f..7f9dc28083 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -34,8 +34,11 @@ #include "csputils.h" #if defined(CONFIG_GL_COCOA) && !defined(CONFIG_GL_X11) -#include <OpenGL/gl.h> +#ifdef GL_VERSION_3_0 #include <OpenGL/gl3.h> +#else +#include <OpenGL/gl.h> +#endif #include <OpenGL/glext.h> #else #include <GL/gl.h> |