From: luc <814640709@qq.com> Date: Sat, 15 Feb 2020 04:55:16 +0000 (+0800) Subject: zink: confused compilation macro usage for zink in target helpers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=692093fbdc93343dbe500128fdd23167d73036d9;p=mesa.git zink: confused compilation macro usage for zink in target helpers. Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan") Reviewed-by: Erik Faye-Lund Tested-by: Marge Bot Part-of: --- diff --git a/src/gallium/auxiliary/target-helpers/sw_helper.h b/src/gallium/auxiliary/target-helpers/sw_helper.h index 2fb1da527cc..e129819477d 100644 --- a/src/gallium/auxiliary/target-helpers/sw_helper.h +++ b/src/gallium/auxiliary/target-helpers/sw_helper.h @@ -82,7 +82,7 @@ sw_screen_create(struct sw_winsys *winsys) default_driver = "softpipe"; #elif defined(GALLIUM_SWR) default_driver = "swr"; -#elif defined(GALLIUM_SWR) +#elif defined(GALLIUM_ZINK) default_driver = "zink"; #else default_driver = "";