mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
Meson: ensure variable defined
A gallium driver is undefined if passing -Dgallium-drivers=''
Fixes: e0b037d697 ("meson: Build SWR driver")
Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
21bca27349
commit
73ce7cb474
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ with_gallium_imx = false
|
|||
with_gallium_i915 = false
|
||||
with_gallium_svga = false
|
||||
with_gallium_virgl = false
|
||||
with_gallium_swr = false
|
||||
_drivers = get_option('gallium-drivers')
|
||||
if _drivers == 'auto'
|
||||
if not ['darwin', 'windows'].contains(host_machine.system())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue