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:
parent
ca9f16d517
commit
a2eadcf82d
1 changed files with 1 additions and 1 deletions
|
@ -10527,7 +10527,7 @@ void VmaBlockMetadata_Linear::CleanupAfterFree()
|
||||||
suballocations2nd[0].hAllocation == VK_NULL_HANDLE)
|
suballocations2nd[0].hAllocation == VK_NULL_HANDLE)
|
||||||
{
|
{
|
||||||
--m_2ndNullItemsCount;
|
--m_2ndNullItemsCount;
|
||||||
suballocations2nd.remove(0);
|
VmaVectorRemove(suballocations2nd, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ShouldCompact1st())
|
if(ShouldCompact1st())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue