summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filters/user_filters.c2
-rw-r--r--wscript8
-rw-r--r--wscript_build.py2
3 files changed, 6 insertions, 6 deletions
diff --git a/filters/user_filters.c b/filters/user_filters.c
index 7fb164490e..e9ccec507d 100644
--- a/filters/user_filters.c
+++ b/filters/user_filters.c
@@ -93,7 +93,7 @@ const struct mp_user_filter_entry *vf_list[] = {
#if HAVE_D3D_HWACCEL
&vf_d3d11vpp,
#endif
-#if HAVE_EGL_HELPERS && HAVE_GL && HAVE_EGL15
+#if HAVE_EGL_HELPERS && HAVE_GL && HAVE_EGL
&vf_gpu,
#endif
};
diff --git a/wscript b/wscript
index ff946900da..b7fc0b474d 100644
--- a/wscript
+++ b/wscript
@@ -647,17 +647,17 @@ video_output_features = [
check_cc(fragment=load_fragment('gl_x11.c'),
use=['x11', 'libdl', 'pthreads']))
} , {
- 'name': '--egl15',
- 'desc': 'EGL 1.5',
+ 'name': '--egl',
+ 'desc': 'EGL 1.4',
'groups': [ 'gl' ],
'func': compose_checks(
check_pkg_config('egl'),
- check_statement(['EGL/egl.h'], 'int x[EGL_VERSION_1_5]')
+ check_statement(['EGL/egl.h'], 'int x[EGL_VERSION_1_4]')
),
} , {
'name': '--egl-x11',
'desc': 'OpenGL X11 EGL Backend',
- 'deps': 'x11 && egl15',
+ 'deps': 'x11 && egl',
'groups': [ 'gl' ],
'func': check_true,
} , {
diff --git a/wscript_build.py b/wscript_build.py
index 4c34d94c45..b1cba334da 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -416,7 +416,7 @@ def build(ctx):
( "video/filter/vf_d3d11vpp.c", "d3d-hwaccel" ),
( "video/filter/vf_fingerprint.c", "zimg" ),
( "video/filter/vf_format.c" ),
- ( "video/filter/vf_gpu.c", "egl-helpers && gl && egl15" ),
+ ( "video/filter/vf_gpu.c", "egl-helpers && gl && egl" ),
( "video/filter/vf_sub.c" ),
( "video/filter/vf_vapoursynth.c", "vapoursynth" ),
( "video/filter/vf_vavpp.c", "vaapi" ),