mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-01 16:55:59 +01:00
ed1924800d
Allow selecting whether the GLES2 renderer gets enabled. Co-authored-by: Simon Ser <contact@emersion.fr>
15 lines
268 B
Meson
15 lines
268 B
Meson
glesv2 = dependency('glesv2', required: 'gles2' in renderers)
|
|
|
|
if not (glesv2.found() and egl.found())
|
|
subdir_done()
|
|
endif
|
|
|
|
features += { 'gles2-renderer': true }
|
|
wlr_deps += glesv2
|
|
|
|
wlr_files += files(
|
|
'pixel_format.c',
|
|
'renderer.c',
|
|
'shaders.c',
|
|
'texture.c',
|
|
)
|