render/gles2: check GBM is found

The GLES2 renderer depends on EGL, which depends on GBM for device
selection.
This commit is contained in:
Simon Ser 2022-06-24 07:16:41 +02:00
parent 91943a68a6
commit b9d55b8769
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
glesv2 = dependency('glesv2', required: 'gles2' in renderers)
if not (glesv2.found() and egl.found())
if not (glesv2.found() and egl.found() and gbm.found())
subdir_done()
endif