diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 0f29d18..e9e7c49 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1486,7 +1486,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; @@ -1510,7 +1510,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;