Add fix for moved class in VK 1.4.303
This commit is contained in:
@@ -11,6 +11,15 @@
|
||||
#include <vector>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
#if VK_HEADER_VERSION > 302
|
||||
// Vulkan 1.4.303 moved the dynamic dispatch loader definition,
|
||||
// this is a workaround to allow building for both the old and the new verisons
|
||||
namespace vk
|
||||
{
|
||||
using DispatchLoaderDynamic = detail::DispatchLoaderDynamic;
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace OpenVulkano::Vulkan
|
||||
{
|
||||
class Debug
|
||||
|
||||
Reference in New Issue
Block a user