diff options
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r-- | video/out/gl_common.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h index 81437b0852..7c9fbc0045 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -38,11 +38,9 @@ #include "video/mp_image.h" #if HAVE_GL_COCOA -#ifdef GL_VERSION_3_0 -#include <OpenGL/gl3.h> -#else +#define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED 1 #include <OpenGL/gl.h> -#endif +#include <OpenGL/gl3.h> #include <OpenGL/glext.h> #else #include <GL/gl.h> |