mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-26 00:24:35 +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,
|
VkBuffer hBuffer,
|
||||||
const void* pNext)
|
const void* pNext)
|
||||||
{
|
{
|
||||||
VkResult res = VK_ERROR_UNKNOWN;
|
VkResult res = VK_ERROR_UNKNOWN_COPY;
|
||||||
switch(hAllocation->GetType())
|
switch(hAllocation->GetType())
|
||||||
{
|
{
|
||||||
case VmaAllocation_T::ALLOCATION_TYPE_DEDICATED:
|
case VmaAllocation_T::ALLOCATION_TYPE_DEDICATED:
|
||||||
@ -15738,7 +15738,7 @@ VkResult VmaAllocator_T::BindImageMemory(
|
|||||||
VkImage hImage,
|
VkImage hImage,
|
||||||
const void* pNext)
|
const void* pNext)
|
||||||
{
|
{
|
||||||
VkResult res = VK_ERROR_UNKNOWN;
|
VkResult res = VK_ERROR_UNKNOWN_COPY;
|
||||||
switch(hAllocation->GetType())
|
switch(hAllocation->GetType())
|
||||||
{
|
{
|
||||||
case VmaAllocation_T::ALLOCATION_TYPE_DEDICATED:
|
case VmaAllocation_T::ALLOCATION_TYPE_DEDICATED:
|
||||||
|
Loading…
Reference in New Issue
Block a user