diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 1bc7bc1..71f3c05 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1787,7 +1787,7 @@ VmaListItem* VmaRawList::InsertBefore(ItemType* pItem) prevItem->pNext = newItem; else { - VMA_HEAVY_ASSERT(m_pFront = pItem); + VMA_HEAVY_ASSERT(m_pFront == pItem); m_pFront = newItem; } ++m_Count; @@ -1811,7 +1811,7 @@ VmaListItem* VmaRawList::InsertAfter(ItemType* pItem) nextItem->pPrev = newItem; else { - VMA_HEAVY_ASSERT(m_pBack = pItem); + VMA_HEAVY_ASSERT(m_pBack == pItem); m_pBack = newItem; } ++m_Count;