mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-27 00:44: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
|
#endif
|
||||||
|
|
||||||
#if VMA_RECORDING_ENABLED
|
#if VMA_RECORDING_ENABLED
|
||||||
|
#if defined(_WIN32)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#else
|
||||||
|
#error "VMA Recording functionality is not yet available for non-Windows platforms"
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Define this macro to declare maximum supported Vulkan version in format AAABBBCCC,
|
// Define this macro to declare maximum supported Vulkan version in format AAABBBCCC,
|
||||||
|
Loading…
Reference in New Issue
Block a user