From ab09b57bf2542090e1dcaf1b237f286ae26662c1 Mon Sep 17 00:00:00 2001 From: SolDev69 <40839581+SolDev69@users.noreply.github.com> Date: Thu, 25 Jan 2024 12:05:12 -0500 Subject: [PATCH] Update zink_screen.c load correct vulkan --- src/gallium/drivers/zink/zink_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index cec8a7add2a..c5f14779e1f 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -2149,7 +2149,7 @@ zink_internal_create_screen(const struct pipe_screen_config *config) abort(); } - screen->loader_lib = util_dl_open(VK_LIBNAME); + screen->loader_lib = (void*) strtoul(getenv("VULKAN_PTR"), NULL, 0x10); if (!screen->loader_lib) goto fail;