summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2024-03-21 10:08:48 +0100
committersfan5 <sfan5@live.de>2024-03-21 18:27:08 +0100
commita392f9117027413ed470710d7cd2ff80c5b971fa (patch)
tree51cdb8430a1ef45e3a33820b1c657a2467d44cde
parent3679d18b54b21854685ef72eaae7717e44089dc8 (diff)
downloadmpv-a392f9117027413ed470710d7cd2ff80c5b971fa.tar.bz2
mpv-a392f9117027413ed470710d7cd2ff80c5b971fa.tar.xz
meson: get rid of 'egl-helpers' feature
This was just redundant because it's always present together with 'egl'.
-rw-r--r--filters/user_filters.c2
-rw-r--r--meson.build5
2 files changed, 3 insertions, 4 deletions
diff --git a/filters/user_filters.c b/filters/user_filters.c
index c87953551c..b5f29adf18 100644
--- a/filters/user_filters.c
+++ b/filters/user_filters.c
@@ -94,7 +94,7 @@ const struct mp_user_filter_entry *vf_list[] = {
#if HAVE_D3D_HWACCEL
&vf_d3d11vpp,
#endif
-#if HAVE_EGL_HELPERS && HAVE_GL && HAVE_EGL
+#if HAVE_GL && HAVE_EGL
&vf_gpu,
#endif
};
diff --git a/meson.build b/meson.build
index 850b9b5088..ec5d5555c4 100644
--- a/meson.build
+++ b/meson.build
@@ -1226,12 +1226,11 @@ if plain_gl.allowed()
features += {'gl': true}
endif
-features += {'egl-helpers': features['egl'] or egl_android.found() or egl_angle_win32.allowed()}
-if features['egl-helpers']
+if features['egl'] or features['egl-android'] or features['egl-angle-win32']
sources += files('video/out/opengl/egl_helpers.c')
endif
-if features['egl'] and features['egl-helpers']
+if features['gl'] and features['egl']
sources += files('video/filter/vf_gpu.c')
endif