mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2026-01-09 08:22:17 +00:00
refactor(cleanup): try to open libvulkan.so as well
This commit is contained in:
parent
d6fee39ddd
commit
b70b403297
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ namespace {
|
|||
if (handle) return handle;
|
||||
|
||||
handle = dlopen("libvulkan.so.1", RTLD_NOW | RTLD_LOCAL);
|
||||
if (!handle) handle = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);
|
||||
if (!handle)
|
||||
throw ls::vulkan_error("failed to load libvulkan.so.1");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue