mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-23 07:14:34 +00:00
Merge pull request #44 from hrydgard/nominmax-fix
Avoid redefinition warnings of NOMINMAX by checking if it's already been defined.
This commit is contained in:
commit
f95e85e508
@ -1369,7 +1369,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef NOMINMAX
|
||||||
#define NOMINMAX // For Windows.h
|
#define NOMINMAX // For Windows.h
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <vulkan/vulkan.h>
|
#include <vulkan/vulkan.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user