mirror of https://github.com/mpv-player/mpv
gl_common: osx: fix compilation with latest XQuartz RC
Looks the gl.h header in XQuartz is incompatible with the one in OS X 10.9.
This commit is contained in:
parent
2c48a16e99
commit
55dca5b6a3
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "video/mp_image.h"
|
||||
|
||||
#if defined(CONFIG_GL_COCOA) && !defined(CONFIG_GL_X11)
|
||||
#if defined(CONFIG_GL_COCOA)
|
||||
#ifdef GL_VERSION_3_0
|
||||
#include <OpenGL/gl3.h>
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue