mirror of https://github.com/mpv-player/mpv
meson: get rid of 'egl-helpers' feature
This was just redundant because it's always present together with 'egl'.
This commit is contained in:
parent
3679d18b54
commit
a392f91170
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue