Merge pull request #301 from manas-kulkarni/master

BindBufferMemory, BindImageMemory - Return VK_ERROR_UNKNOWN for unkno…
This commit is contained in:
Adam Sawicki 2022-11-23 09:53:47 +01:00 committed by GitHub
commit 73d13a83ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15598,7 +15598,7 @@ VkResult VmaAllocator_T::BindBufferMemory(
VkBuffer hBuffer,
const void* pNext)
{
VkResult res = VK_SUCCESS;
VkResult res = VK_ERROR_UNKNOWN;
switch(hAllocation->GetType())
{
case VmaAllocation_T::ALLOCATION_TYPE_DEDICATED:
@ -15623,7 +15623,7 @@ VkResult VmaAllocator_T::BindImageMemory(
VkImage hImage,
const void* pNext)
{
VkResult res = VK_SUCCESS;
VkResult res = VK_ERROR_UNKNOWN;
switch(hAllocation->GetType())
{
case VmaAllocation_T::ALLOCATION_TYPE_DEDICATED: