mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-24 22:53:51 +08:00
meson: always define HAVE_{X11,XCB}_PLATFORM
when it's enabled
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13278>
This commit is contained in:
parent
448dd106da
commit
5cc9c30aef
@ -916,10 +916,8 @@ endif
|
||||
|
||||
gl_pkgconfig_c_flags = []
|
||||
if with_platform_x11
|
||||
if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 'drm')
|
||||
pre_args += '-DHAVE_X11_PLATFORM'
|
||||
pre_args += '-DHAVE_XCB_PLATFORM'
|
||||
endif
|
||||
pre_args += '-DHAVE_X11_PLATFORM'
|
||||
pre_args += '-DHAVE_XCB_PLATFORM'
|
||||
if with_glx == 'xlib' or with_glx == 'gallium-xlib'
|
||||
pre_args += '-DUSE_XSHM'
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user