summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/target-helpers/sw_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/target-helpers/sw_helper.h')
-rw-r--r--src/gallium/auxiliary/target-helpers/sw_helper.h2
1 files changed, 1 insertions, 1 deletions
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 = "";