mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 02:31:48 +00:00
Fixed bug in VmaAllocator_T::Defragment.
This commit is contained in:
parent
b8d34d5e6a
commit
ad0989bfb4
@ -12516,7 +12516,7 @@ VkResult VmaAllocator_T::Defragment(
|
||||
{
|
||||
if(pAllocationsChanged != VMA_NULL)
|
||||
{
|
||||
memset(pAllocationsChanged, 0, sizeof(*pAllocationsChanged));
|
||||
memset(pAllocationsChanged, 0, allocationCount * sizeof(VkBool32));
|
||||
}
|
||||
if(pDefragmentationStats != VMA_NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user