Skip to content

Commit

Permalink
Update zink_screen.c
Browse files Browse the repository at this point in the history
load correct vulkan
  • Loading branch information
SolDev69 authored Jan 25, 2024
1 parent c879eac commit ab09b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallium/drivers/zink/zink_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ab09b57

Please sign in to comment.