diff --git a/src/VmaUsage.h b/src/VmaUsage.h index bd31938..9d24b96 100644 --- a/src/VmaUsage.h +++ b/src/VmaUsage.h @@ -8,7 +8,8 @@ #include #define VK_USE_PLATFORM_WIN32_KHR -#include +// Uncomment to test including `vulkan.h` on your own before including VMA. +//#include /* In every place where you want to use Vulkan Memory Allocator, define appropriate diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 56b2624..310a4b1 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1492,7 +1492,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings. #define NOMINMAX // For windows.h #endif -#include +#ifndef VULKAN_H_ + #include +#endif #if VMA_RECORDING_ENABLED #include