mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 15:30:09 +00: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
@ -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…
Reference in New Issue
Block a user