mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-12-03 16:51:05 +00:00
Minor improvement in vmaDefragmentationBegin.
This commit is contained in:
parent
52076ebf26
commit
434ac86781
@ -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…
Reference in New Issue
Block a user