aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorluc <[email protected]>2020-02-15 12:55:16 +0800
committerMarge Bot <[email protected]>2020-02-17 12:21:01 +0000
commit692093fbdc93343dbe500128fdd23167d73036d9 (patch)
tree8dabbc59daff8817065375644e597f9e97fa2a9e /src/gallium
parentb7e966dc7feaed8e0830f9f9ab5904966c7356a0 (diff)
zink: confused compilation macro usage for zink in target helpers.
Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan") Reviewed-by: Erik Faye-Lund <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3831> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3831>
Diffstat (limited to 'src/gallium')
-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 = "";