meson: fix linking gallium with xcb-xfixes when using x11

Commit 8f6fca89aa from !30952 by @zmike
renamed with_dri3 as with_dri in many places, but mistakenly deleted it
there, instead of renaming it. This causes the linking of gallium to fail
because of missing xcb_xfixes_destroy_region symbol from xcb-fixes.

This is basically replaying commit cf17d62516
from !7164 by @duncan.hopkins but with the new syntax.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31246>
This commit is contained in:
Thomas Debesse
2024-09-19 08:24:05 +02:00
committed by Marge Bot
parent 32af15384d
commit a8f95d9d06

View File

@@ -2128,6 +2128,7 @@ if with_platform_x11
endif
endif
if (with_egl or
with_dri or
with_any_vk or
with_gallium_vdpau or with_gallium_xa)
dep_xcb_xfixes = dependency('xcb-xfixes')