Mesa (staging/22.1): wgl: add zink to the list of auto-loaded drivers

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 27 02:59:41 UTC 2022


Module: Mesa
Branch: staging/22.1
Commit: 38fd735a72ef7fbb3e78bc0f79d594f8aaabc8e4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=38fd735a72ef7fbb3e78bc0f79d594f8aaabc8e4

Author: Sidney Just <justsid at x-plane.com>
Date:   Wed Apr 20 17:47:58 2022 -0400

wgl: add zink to the list of auto-loaded drivers

it's a legitimate driver!

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16087>

---

 src/gallium/targets/wgl/wgl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/targets/wgl/wgl.c b/src/gallium/targets/wgl/wgl.c
index d2e0448a161..18423e9f428 100644
--- a/src/gallium/targets/wgl/wgl.c
+++ b/src/gallium/targets/wgl/wgl.c
@@ -126,6 +126,9 @@ wgl_screen_create(HDC hDC)
 #ifdef GALLIUM_D3D12
       sw_only ? "" : "d3d12",
 #endif
+#ifdef GALLIUM_ZINK
+      "zink",
+#endif
 #if defined(GALLIUM_LLVMPIPE)
       "llvmpipe",
 #endif



More information about the mesa-commit mailing list