Skip to content

Commit 7ba02ec

Browse files
Minor improvement
1 parent ddcbf8c commit 7ba02ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vk_mem_alloc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12656,6 +12656,10 @@ void VmaBlockVector::FreeEmptyBlocks(VmaDefragmentationStats* pDefragmentationSt
1265612656
pBlock->Destroy(m_hAllocator);
1265712657
vma_delete(m_hAllocator, pBlock);
1265812658
}
12659+
else
12660+
{
12661+
break;
12662+
}
1265912663
}
1266012664
}
1266112665
UpdateHasEmptyBlock();

0 commit comments

Comments
 (0)