From 4dec4ba87dc03d81f04356207118d2cdace33f09 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 3 May 2022 15:12:45 -0400 Subject: [PATCH] wgl: don't auto-load zink before software drivers as in glx/egl, zink+lavapipe should only load if explicitly selected Reviewed-by: Jesse Natalie Part-of: --- src/gallium/targets/wgl/wgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",