mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 15:12:26 +00:00
ed1924800d
Allow selecting whether the GLES2 renderer gets enabled. Co-authored-by: Simon Ser <contact@emersion.fr>
16 lines
268 B
Meson
16 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',
|
|
)
|