diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-01-22 08:27:03 +0100 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-01-22 08:27:03 +0100 |
commit | 29cf62d20133b32e1514a315b4f7e013ed9cb768 (patch) | |
tree | c2d635fddd1e7e6aa19dbc35153017e2d8951fde /video/out/gl_common.h | |
parent | edc100eee0c9b9d5c4a17bf5c05197e2143c5c81 (diff) | |
download | mpv-29cf62d20133b32e1514a315b4f7e013ed9cb768.tar.bz2 mpv-29cf62d20133b32e1514a315b4f7e013ed9cb768.tar.xz |
cocoa: remove support for systems without gl3.h header
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> |