Fixed an issue with STL_CONTAINER compilation.

Fixed an issue where defining the VMA_USE_STL_CONTAINERS
macro would prevent VMA from compiling. This was caused by calling a
VMA-container-specific function instead of the macro meant for
abstracting away the differences.
This commit is contained in:
Chris de Jong-Pobedinskiy 2019-05-05 19:30:39 +02:00
parent ca9f16d517
commit a2eadcf82d

View File

@ -10527,7 +10527,7 @@ void VmaBlockMetadata_Linear::CleanupAfterFree()
suballocations2nd[0].hAllocation == VK_NULL_HANDLE)
{
--m_2ndNullItemsCount;
suballocations2nd.remove(0);
VmaVectorRemove(suballocations2nd, 0);
}
if(ShouldCompact1st())