summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gallium/targets/wgl/wgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/wgl/wgl.c b/src/gallium/targets/wgl/wgl.c
index 18423e9f428..baa6f28514c 100644
--- a/src/gallium/targets/wgl/wgl.c
+++ b/src/gallium/targets/wgl/wgl.c
@@ -127,7 +127,7 @@ wgl_screen_create(HDC hDC)
sw_only ? "" : "d3d12",
#endif
#ifdef GALLIUM_ZINK
- "zink",
+ sw_only ? "" : "zink",
#endif
#if defined(GALLIUM_LLVMPIPE)
"llvmpipe",