diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index 4b59a0d..4e48b6e 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -151,6 +151,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings. #endif #if !defined(VK_VERSION_1_2) + // This one is tricky. Vulkan specification defines this code as available since + // Vulkan 1.0, but doesn't actually define it in Vulkan SDK earlier than 1.2.131. + // See pull request #207. #define VK_ERROR_UNKNOWN ((VkResult)-13) #endif