1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 11:52:12 +01:00

[dxvk] Throw DxvkError if we failed to load vulkan library

This commit is contained in:
Joshua Ashton 2022-08-26 17:38:37 +00:00 committed by Philip Rebohle
parent 286ab017da
commit 86efa46fcf

View File

@ -33,6 +33,8 @@ namespace dxvk {
provider->initInstanceExtensions();
m_vkl = new vk::LibraryFn();
if (!m_vkl->valid())
throw DxvkError("Failed to load vulkan-1 library.");
m_vki = new vk::InstanceFn(m_vkl, true, this->createInstance());
m_adapters = this->queryAdapters();