Make Vulkan include optional

This commit is contained in:
manaskulkarni 2024-05-31 17:05:44 +05:30
parent 009ecd192c
commit 0dc661eb73

View File

@ -127,7 +127,9 @@ See documentation chapter: \ref statistics.
extern "C" { extern "C" {
#endif #endif
#if !defined(VULKAN_H_)
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>
#endif
#if !defined(VMA_VULKAN_VERSION) #if !defined(VMA_VULKAN_VERSION)
#if defined(VK_VERSION_1_3) #if defined(VK_VERSION_1_3)