mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Fixed initialization order in class VmaDefragmentationAlgorithm_Generic constructor. #57 Thanks @manaskulkarni786 !
This commit is contained in:
parent
6c8b7a2c3e
commit
3fd40ede96
@ -12609,8 +12609,8 @@ VmaDefragmentationAlgorithm_Generic::VmaDefragmentationAlgorithm_Generic(
|
|||||||
uint32_t currentFrameIndex,
|
uint32_t currentFrameIndex,
|
||||||
bool overlappingMoveSupported) :
|
bool overlappingMoveSupported) :
|
||||||
VmaDefragmentationAlgorithm(hAllocator, pBlockVector, currentFrameIndex),
|
VmaDefragmentationAlgorithm(hAllocator, pBlockVector, currentFrameIndex),
|
||||||
m_AllAllocations(false),
|
|
||||||
m_AllocationCount(0),
|
m_AllocationCount(0),
|
||||||
|
m_AllAllocations(false),
|
||||||
m_BytesMoved(0),
|
m_BytesMoved(0),
|
||||||
m_AllocationsMoved(0),
|
m_AllocationsMoved(0),
|
||||||
m_Blocks(VmaStlAllocator<BlockInfo*>(hAllocator->GetAllocationCallbacks()))
|
m_Blocks(VmaStlAllocator<BlockInfo*>(hAllocator->GetAllocationCallbacks()))
|
||||||
|
Loading…
Reference in New Issue
Block a user