wlroots-hyprland/render/gles2/meson.build
ayaka ed1924800d render: make GLES2 renderer optional
Allow selecting whether the GLES2 renderer gets enabled.

Co-authored-by: Simon Ser <contact@emersion.fr>
2021-04-17 16:39:40 +02:00

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',
)