summaryrefslogtreecommitdiffstats
path: root/video/out/vo_corevideo.c
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-01-02 22:42:16 +0100
committerwm4 <wm4@nowhere>2014-01-06 20:21:17 +0100
commit8abdf1f56e46649caadd321b20b418a6b65ff30d (patch)
tree7b4dcf233ce71bb04123f1b2ba18f96acc02e4c4 /video/out/vo_corevideo.c
parent5a81f7678e3429e1aa73d5b9d7854f64b8ce5443 (diff)
downloadmpv-8abdf1f56e46649caadd321b20b418a6b65ff30d.tar.bz2
mpv-8abdf1f56e46649caadd321b20b418a6b65ff30d.tar.xz
vda: fix build on OS X 10.7
Looks like on 10.8 OpenGL.h recursively includes CGLIOSurface.h. That is not the case for 10.7 so the build was broken on that version of OS X.
Diffstat (limited to 'video/out/vo_corevideo.c')
-rw-r--r--video/out/vo_corevideo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_corevideo.c b/video/out/vo_corevideo.c
index 92b3c764ca..20769d7ca1 100644
--- a/video/out/vo_corevideo.c
+++ b/video/out/vo_corevideo.c
@@ -25,6 +25,7 @@
#include <QuartzCore/QuartzCore.h>
#if HAVE_VDA_HWACCEL
#include <IOSurface/IOSurface.h>
+#include <OpenGL/CGLIOSurface.h>
#endif
#include <assert.h>