diff options
author | Simon Ser <contact@emersion.fr> | 2022-06-24 07:20:42 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-06-24 07:20:42 +0200 |
commit | c20468cfa292e99357fd504fc5b5884f6078ca96 (patch) | |
tree | 19e4a10382caafa34a4c53bf9557d3b5ca5a6d70 /render/gles2 | |
parent | b9d55b8769617dc33660dc8e8c27de7bd4f62e4d (diff) | |
download | wlroots-c20468cfa292e99357fd504fc5b5884f6078ca96.tar.xz |
render: use internal_features to indicate EGL support
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.
Diffstat (limited to 'render/gles2')
-rw-r--r-- | render/gles2/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/gles2/meson.build b/render/gles2/meson.build index 8656714b..504f0c11 100644 --- a/render/gles2/meson.build +++ b/render/gles2/meson.build @@ -1,6 +1,6 @@ glesv2 = dependency('glesv2', required: 'gles2' in renderers) -if not (glesv2.found() and egl.found() and gbm.found()) +if not (glesv2.found() and internal_features['egl']) subdir_done() endif |