Minor improvement in vmaDefragmentationBegin.
This commit is contained in:
parent
52076ebf26
commit
434ac86781
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue