meson: Drop unnecessary egl, gles feature defines

`HAVE_LIBEGL` and `HAVE_GLESV2` are not used, so drop them.

Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Bryan O'Donoghue <bod.linux@nxsw.ie>
This commit is contained in:
Barnabás Pőcze
2026-01-29 16:23:18 +01:00
parent f9525c25fd
commit 383fdb76ff
-8
View File
@@ -74,14 +74,6 @@ mesa_works = cc.check_header('EGL/egl.h', required: false)
libegl = dependency('egl', required : false)
libglesv2 = dependency('glesv2', required : false)
if libegl.found()
config_h.set('HAVE_LIBEGL', 1)
endif
if libglesv2.found()
config_h.set('HAVE_GLESV2', 1)
endif
if mesa_works
libcamera_internal_sources += files([
'egl.cpp',