mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-22 15:04:34 +00:00
Fix for failing CI job on linux.
Code by @medranSolus
This commit is contained in:
parent
88510e9801
commit
ab75719ee0
@ -13016,7 +13016,7 @@ VkResult VmaDefragmentationContext_T::DefragmentPassEnd(VmaDefragmentationPassMo
|
|||||||
VMA_ASSERT(moveInfo.moveCount > 0 ? moveInfo.pMoves != VMA_NULL : true);
|
VMA_ASSERT(moveInfo.moveCount > 0 ? moveInfo.pMoves != VMA_NULL : true);
|
||||||
|
|
||||||
VkResult result = VK_SUCCESS;
|
VkResult result = VK_SUCCESS;
|
||||||
VmaVector<ImmovableBlock, VmaStlAllocator<ImmovableBlock>> immovableBlocks({ m_MoveAllocator.m_pCallbacks });
|
VmaVector<ImmovableBlock, VmaStlAllocator<ImmovableBlock>> immovableBlocks(VmaStlAllocator<ImmovableBlock>(m_MoveAllocator.m_pCallbacks));
|
||||||
for (uint32_t i = 0; i < moveInfo.moveCount; ++i)
|
for (uint32_t i = 0; i < moveInfo.moveCount; ++i)
|
||||||
{
|
{
|
||||||
VmaDefragmentationMove& move = moveInfo.pMoves[i];
|
VmaDefragmentationMove& move = moveInfo.pMoves[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user