mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +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>
(cherry picked from commit 149e8bff52)
This commit is contained in:
parent
09dfdcd476
commit
7829531a6b
2 changed files with 2 additions and 2 deletions
|
|
@ -274,7 +274,7 @@
|
|||
"description": "meson: egl: Build egl_dri2 driver even for plain DRI",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -91,7 +91,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