Fixed bugs in VmaBlockMetadata_Linear::MakeAllocationsLost, VmaBlockVector::IsCorruptionDetectionEnabled.
This commit is contained in:
parent
fd366b60b4
commit
4d35a5d663
2 changed files with 3 additions and 1 deletions
src
|
@ -2550,7 +2550,7 @@ static void TestLinearAllocator()
|
|||
{
|
||||
vmaSetCurrentFrameIndex(g_hAllocator, ++g_FrameIndex);
|
||||
|
||||
size_t lostAllocCount = SIZE_MAX;
|
||||
size_t lostAllocCount = 0;
|
||||
vmaMakePoolAllocationsLost(g_hAllocator, pool, &lostAllocCount);
|
||||
TEST(lostAllocCount > 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue