diff options
Diffstat (limited to 'src/yuzu')
| -rw-r--r-- | src/yuzu/configuration/configure_graphics.cpp | 4 | ||||
| -rw-r--r-- | src/yuzu/startup_checks.cpp | 4 | 
2 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp index f316b598c..431585216 100644 --- a/src/yuzu/configuration/configure_graphics.cpp +++ b/src/yuzu/configuration/configure_graphics.cpp @@ -515,8 +515,8 @@ void ConfigureGraphics::RetrieveVulkanDevices() try {      auto wsi = QtCommon::GetWindowSystemInfo(window);      vk::InstanceDispatch dld; -    const Common::DynamicLibrary library = OpenLibrary(); -    const vk::Instance instance = CreateInstance(library, dld, VK_API_VERSION_1_1, wsi.type); +    const auto library = OpenLibrary(); +    const vk::Instance instance = CreateInstance(*library, dld, VK_API_VERSION_1_1, wsi.type);      const std::vector<VkPhysicalDevice> physical_devices = instance.EnumeratePhysicalDevices();      vk::SurfaceKHR surface = CreateSurface(instance, wsi); diff --git a/src/yuzu/startup_checks.cpp b/src/yuzu/startup_checks.cpp index 5e1f76339..6eefc94ed 100644 --- a/src/yuzu/startup_checks.cpp +++ b/src/yuzu/startup_checks.cpp @@ -25,9 +25,9 @@ void CheckVulkan() {      // Just start the Vulkan loader, this will crash if something is wrong      try {          Vulkan::vk::InstanceDispatch dld; -        const Common::DynamicLibrary library = Vulkan::OpenLibrary(); +        const auto library = Vulkan::OpenLibrary();          const Vulkan::vk::Instance instance = -            Vulkan::CreateInstance(library, dld, VK_API_VERSION_1_1); +            Vulkan::CreateInstance(*library, dld, VK_API_VERSION_1_1);      } catch (const Vulkan::vk::Exception& exception) {          fmt::print(stderr, "Failed to initialize Vulkan: {}\n", exception.what());  | 
