Minor improvement in vmaDefragmentationBegin.

This commit is contained in:
Adam Sawicki 2018-11-22 16:20:49 +01:00
parent 52076ebf26
commit 434ac86781

View File

@ -15213,6 +15213,8 @@ VkResult vmaDefragmentationBegin(
VmaDefragmentationContext *pContext)
{
VMA_ASSERT(allocator && pInfo && pContext);
VMA_ASSERT(pInfo->allocationCount == 0 || pInfo->pAllocations != VMA_NULL);
VMA_ASSERT(pInfo->poolCount == 0 || pInfo->pPools != VMA_NULL);
VMA_DEBUG_LOG("vmaDefragmentationBegin");