mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
meson: egl: Build egl_dri2 driver even for plain DRI
Despite its name, egl_dri2 works under plain DRI without DRI2, and the old autotools build system built it when $enable_dri = yes, with no check for DRI2. This fixes the build for GNU/Hurd, which supports DRI, but doesn't have DRM and thus no DRI2 support. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/587>
This commit is contained in:
parent
ec55a6c329
commit
149e8bff52
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ g_egldispatchstubs_h = custom_target(
|
|||
capture : true,
|
||||
)
|
||||
|
||||
if with_dri2
|
||||
if with_dri
|
||||
files_egl += files(
|
||||
'drivers/dri2/egl_dri2.c',
|
||||
'drivers/dri2/egl_dri2.h',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue