mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 08:28:21 +02:00
meson: allow building dri driver without window system if osmesa is classic
This was already enabled for gallium based osmesa with gallium drivers in9d10581897, so do the same for classic driver with classic osmesa. Fixes:cbbd5bb889("meson: build classic osmesa") Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
ed7673afd2
commit
431e9abaab
1 changed files with 2 additions and 2 deletions
|
|
@ -382,8 +382,8 @@ if with_any_vk and (with_platform_x11 and not with_dri3)
|
|||
error('Vulkan drivers require dri3 for X11 support')
|
||||
endif
|
||||
if with_dri
|
||||
if with_glx == 'disabled' and not with_egl and not with_gbm
|
||||
error('building dri drivers require at least one windowing system')
|
||||
if with_glx == 'disabled' and not with_egl and not with_gbm and with_osmesa != 'classic'
|
||||
error('building dri drivers require at least one windowing system or classic osmesa')
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue