Vulkan: Use the DynamicLoader from the right namespace

As of vulkan-headers 1.4.303, this class is defined in the vk::detail
namespace, not in vk any more.
This commit is contained in:
Emmanuel Gil Peyrot 2024-12-28 21:57:51 +01:00
parent c65c3c7192
commit 46d6a9e4ad

View file

@ -9,7 +9,7 @@ class logger;
} }
struct VulkanInstanceManager { struct VulkanInstanceManager {
vk::DynamicLoader vulkan_loader; vk::detail::DynamicLoader vulkan_loader;
vk::UniqueInstance instance; vk::UniqueInstance instance;
VulkanInstanceManager(spdlog::logger&, const char* app_name, const std::vector<const char*>& required_instance_extensions); VulkanInstanceManager(spdlog::logger&, const char* app_name, const std::vector<const char*>& required_instance_extensions);