Fixed #include <windows.h> for compilation under Windows mingw64. Issue #41 thanks @turol !

This commit is contained in:
Adam Sawicki 2018-09-10 14:43:04 +02:00
parent df1b88d387
commit c77a123a89

View File

@ -1369,12 +1369,12 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
#endif #endif
#endif #endif
#define NOMINMAX // For Windows.h #define NOMINMAX // For windows.h
#include <vulkan/vulkan.h> #include <vulkan/vulkan.h>
#if VMA_RECORDING_ENABLED #if VMA_RECORDING_ENABLED
#include <Windows.h> #include <windows.h>
#endif #endif
#if !defined(VMA_DEDICATED_ALLOCATION) #if !defined(VMA_DEDICATED_ALLOCATION)