mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 02:31:48 +00:00
Fixing = instead of == in VMA_HEAVY_ASSERT (thanks @zeux!)
This commit is contained in:
parent
9e1684f87a
commit
d55d084dd3
@ -1486,7 +1486,7 @@ VmaListItem<T>* VmaRawList<T>::InsertBefore(ItemType* pItem)
|
|||||||
prevItem->pNext = newItem;
|
prevItem->pNext = newItem;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
VMA_HEAVY_ASSERT(m_pFront = pItem);
|
VMA_HEAVY_ASSERT(m_pFront == pItem);
|
||||||
m_pFront = newItem;
|
m_pFront = newItem;
|
||||||
}
|
}
|
||||||
++m_Count;
|
++m_Count;
|
||||||
@ -1510,7 +1510,7 @@ VmaListItem<T>* VmaRawList<T>::InsertAfter(ItemType* pItem)
|
|||||||
nextItem->pPrev = newItem;
|
nextItem->pPrev = newItem;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
VMA_HEAVY_ASSERT(m_pBack = pItem);
|
VMA_HEAVY_ASSERT(m_pBack == pItem);
|
||||||
m_pBack = newItem;
|
m_pBack = newItem;
|
||||||
}
|
}
|
||||||
++m_Count;
|
++m_Count;
|
||||||
|
Loading…
Reference in New Issue
Block a user