refactor(cleanup): try to open libvulkan.so as well

This commit is contained in:
PancakeTAS 2025-12-11 20:18:04 +01:00
parent d6fee39ddd
commit b70b403297

View file

@ -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");