mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 14:15:58 +01:00
c20468cfa2
Instead of checking whether the wlr_egl dependencies are available in the GLES2 code, introduce internal_features['egl'] and check that field. When updating the EGL dependency list, we no longer need to update the GLES2 logic.
15 lines
281 B
Meson
15 lines
281 B
Meson
glesv2 = dependency('glesv2', required: 'gles2' in renderers)
|
|
|
|
if not (glesv2.found() and internal_features['egl'])
|
|
subdir_done()
|
|
endif
|
|
|
|
features += { 'gles2-renderer': true }
|
|
wlr_deps += glesv2
|
|
|
|
wlr_files += files(
|
|
'pixel_format.c',
|
|
'renderer.c',
|
|
'shaders.c',
|
|
'texture.c',
|
|
)
|