From 51bac8e0ead2e0f6f264c96127a2511e642f471d Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Sun, 14 Jan 2024 21:14:35 +0100 Subject: [PATCH] Fixed VK_ERROR_UNKNOWN -> VK_ERROR_UNKNOWN_COPY See #385 - thanks @alecazam --- include/vk_mem_alloc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index 58b233c..50a452f 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -15713,7 +15713,7 @@ VkResult VmaAllocator_T::BindBufferMemory( VkBuffer hBuffer, const void* pNext) { - VkResult res = VK_ERROR_UNKNOWN; + VkResult res = VK_ERROR_UNKNOWN_COPY; switch(hAllocation->GetType()) { case VmaAllocation_T::ALLOCATION_TYPE_DEDICATED: @@ -15738,7 +15738,7 @@ VkResult VmaAllocator_T::BindImageMemory( VkImage hImage, const void* pNext) { - VkResult res = VK_ERROR_UNKNOWN; + VkResult res = VK_ERROR_UNKNOWN_COPY; switch(hAllocation->GetType()) { case VmaAllocation_T::ALLOCATION_TYPE_DEDICATED: