Merge pull request #118 from expipiplus1/joe-recording

Add CPP error if trying to use recording on a non-Windows platform
This commit is contained in:
Adam Sawicki 2020-04-07 20:45:45 +02:00 committed by GitHub
commit c4bc165faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,