mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-14 16:58:34 +00:00
Fixed loop termination when ending defragment passes
This commit is contained in:
parent
46776a4c37
commit
44a5aea4ef
1 changed files with 1 additions and 1 deletions
|
@ -13276,7 +13276,7 @@ VkResult VmaDefragmentationContext_T::DefragmentPassEnd(VmaDefragmentationPassMo
|
|||
for (const FragmentedBlock& block : immovableBlocks)
|
||||
{
|
||||
VmaBlockVector* vector = m_pBlockVectors[block.data];
|
||||
for (size_t i = m_ImmovableBlockCount; vector->GetBlockCount(); ++i)
|
||||
for (size_t i = m_ImmovableBlockCount; i < vector->GetBlockCount(); ++i)
|
||||
{
|
||||
if (vector->GetBlock(i) == block.block)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue