mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-21 20:00:11 +00:00
Fixed VK_ERROR_UNKNOWN -> VK_ERROR_UNKNOWN_COPY
See #385 - thanks @alecazam
This commit is contained in:
parent
145917616e
commit
51bac8e0ea
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user