Fixed VK_ERROR_UNKNOWN -> VK_ERROR_UNKNOWN_COPY

See #385 - thanks @alecazam
This commit is contained in:
Adam Sawicki 2024-01-14 21:14:35 +01:00
parent 145917616e
commit 51bac8e0ea

View File

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