mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
VmaDefragmentator::DefragmentRound: Minor fix for warning in 32-bit version.
This commit is contained in:
parent
6462ea6d2a
commit
14efd2a1cf
Binary file not shown.
@ -5762,7 +5762,7 @@ VkResult VmaDefragmentator::DefragmentRound(
|
|||||||
memcpy(
|
memcpy(
|
||||||
reinterpret_cast<char*>(pDstMappedData) + dstAllocRequest.offset,
|
reinterpret_cast<char*>(pDstMappedData) + dstAllocRequest.offset,
|
||||||
reinterpret_cast<char*>(pSrcMappedData) + srcOffset,
|
reinterpret_cast<char*>(pSrcMappedData) + srcOffset,
|
||||||
size);
|
static_cast<size_t>(size));
|
||||||
|
|
||||||
pDstBlockInfo->m_pBlock->Alloc(dstAllocRequest, suballocType, size, allocInfo.m_hAllocation);
|
pDstBlockInfo->m_pBlock->Alloc(dstAllocRequest, suballocType, size, allocInfo.m_hAllocation);
|
||||||
pSrcBlockInfo->m_pBlock->Free(allocInfo.m_hAllocation);
|
pSrcBlockInfo->m_pBlock->Free(allocInfo.m_hAllocation);
|
||||||
|
Loading…
Reference in New Issue
Block a user