meson: get rid of 'egl-helpers' feature

This was just redundant because it's always present together with 'egl'.
This commit is contained in:
sfan5 2024-03-21 10:08:48 +01:00
parent 3679d18b54
commit a392f91170
2 changed files with 3 additions and 4 deletions

View File

@ -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
};

View File

@ -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