Minor improvement

This commit is contained in:
Adam Sawicki 2019-11-22 15:28:06 +01:00
parent ddcbf8cdba
commit 7ba02ec56e

View File

@ -12656,6 +12656,10 @@ void VmaBlockVector::FreeEmptyBlocks(VmaDefragmentationStats* pDefragmentationSt
pBlock->Destroy(m_hAllocator);
vma_delete(m_hAllocator, pBlock);
}
else
{
break;
}
}
}
UpdateHasEmptyBlock();