Add fix for moved class in VK 1.4.303
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <vulkan/vulkan.hpp>
|
#include <vulkan/vulkan.hpp>
|
||||||
|
#include "Debuging/ValidationLayer.hpp"
|
||||||
#include "DeviceManager.hpp"
|
#include "DeviceManager.hpp"
|
||||||
#include "SwapChain.hpp"
|
#include "SwapChain.hpp"
|
||||||
#include "RenderPass.hpp"
|
#include "RenderPass.hpp"
|
||||||
|
|||||||
@@ -11,6 +11,15 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <vulkan/vulkan.hpp>
|
#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
|
namespace OpenVulkano::Vulkan
|
||||||
{
|
{
|
||||||
class Debug
|
class Debug
|
||||||
|
|||||||
Reference in New Issue
Block a user