Small change not to #include <vulkan/vulkan.h> if it was already included (possible from a different path) before including VMA. Issue #50 Thanks @baldurk !
This commit is contained in:
parent
3b392258e2
commit
e8b01485ce
2 changed files with 5 additions and 2 deletions
|
@ -1492,7 +1492,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
|
|||
#define NOMINMAX // For windows.h
|
||||
#endif
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
#ifndef VULKAN_H_
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
|
||||
#if VMA_RECORDING_ENABLED
|
||||
#include <windows.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue