Skip to content

Commit

Permalink
Merge pull request #418 from manas-kulkarni/master
Browse files Browse the repository at this point in the history
Make Vulkan include optional
  • Loading branch information
adam-sawicki-a authored Jun 3, 2024
2 parents 009ecd1 + 0dc661e commit 7942b79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/vk_mem_alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ See documentation chapter: \ref statistics.
extern "C" {
#endif

#if !defined(VULKAN_H_)
#include <vulkan/vulkan.h>
#endif

#if !defined(VMA_VULKAN_VERSION)
#if defined(VK_VERSION_1_3)
Expand Down

0 comments on commit 7942b79

Please sign in to comment.