From d47dff3faa246256d9e29daa215db4b5aedcb3f2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 25 Sep 2015 00:07:20 +0200 Subject: 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. --- wscript | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index a9b026d9de..f23cf43500 100644 --- a/wscript +++ b/wscript @@ -608,6 +608,11 @@ video_output_features = [ 'deps': [ 'x11' ], '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', -- cgit v1.2.3