mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-06-02 18:07:48 +00:00
Fixed VK_ERROR_UNKNOWN -> VK_ERROR_UNKNOWN_COPY
See #385 - thanks @alecazam
This commit is contained in:
parent
145917616e
commit
51bac8e0ea
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue