mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01: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
1 changed files with 2 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue