summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-25 00:07:20 +0200
committerwm4 <wm4@nowhere>2015-09-25 00:19:58 +0200
commitd47dff3faa246256d9e29daa215db4b5aedcb3f2 (patch)
treee5cece949613a8b79591391ea5ed01c49b030563 /wscript
parentb81d9c79a893f119ea80d230c20b77809be2b0d9 (diff)
downloadmpv-d47dff3faa246256d9e29daa215db4b5aedcb3f2.tar.bz2
mpv-d47dff3faa246256d9e29daa215db4b5aedcb3f2.tar.xz
vo_opengl: load certain EGL extensions needed for VAAPI EGL interop
These extensions use a bunch of EGL types, so we need to include the EGL headers in common.h to use our GL function loader with this. In the future, we should probably require presence of the EGL headers to reduce the hacks. This might be not so simple at least with OSX, so for now this has to do.
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript b/wscript
index a9b026d9de..f23cf43500 100644
--- a/wscript
+++ b/wscript
@@ -609,6 +609,11 @@ video_output_features = [
'groups': [ 'gl' ],
'func': check_pkg_config('egl', 'gl'),
} , {
+ 'name': 'egl',
+ 'desc': 'EGL',
+ 'deps': [ 'egl-x11' ],
+ 'func': check_true,
+ } , {
'name': '--gl-wayland',
'desc': 'OpenGL Wayland Backend',
'deps': [ 'wayland' ],