diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 7e70a9e..b11edff 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1932,7 +1932,11 @@ available through VmaAllocatorCreateInfo::pRecordSettings. #endif #if VMA_RECORDING_ENABLED - #include + #if defined(_WIN32) + #include + #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,