mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-22 23:04:35 +00:00
Add CPP #error if trying to use recording on a non-Windows platform
This commit is contained in:
parent
f575c5070b
commit
c0cf25df3d
@ -1932,7 +1932,11 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
|
||||
#endif
|
||||
|
||||
#if VMA_RECORDING_ENABLED
|
||||
#include <windows.h>
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#error "VMA Recording functionality is not yet available for non-Windows platforms"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Define this macro to declare maximum supported Vulkan version in format AAABBBCCC,
|
||||
|
Loading…
Reference in New Issue
Block a user