Skip to content

Commit 7942b79

Browse files
Merge pull request #418 from manas-kulkarni/master
Make Vulkan include optional
2 parents 009ecd1 + 0dc661e commit 7942b79

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/vk_mem_alloc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ See documentation chapter: \ref statistics.
127127
extern "C" {
128128
#endif
129129

130+
#if !defined(VULKAN_H_)
130131
#include <vulkan/vulkan.h>
132+
#endif
131133

132134
#if !defined(VMA_VULKAN_VERSION)
133135
#if defined(VK_VERSION_1_3)

0 commit comments

Comments
 (0)