mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
VmaBlockVector::VmaBlockVector: Fixed warning on GCC Linux (thanks @carlosga)
This commit is contained in:
parent
853b251689
commit
a89a26c452
@ -5081,7 +5081,6 @@ VmaBlockVector::VmaBlockVector(
|
|||||||
VkDeviceSize bufferImageGranularity,
|
VkDeviceSize bufferImageGranularity,
|
||||||
uint32_t frameInUseCount,
|
uint32_t frameInUseCount,
|
||||||
bool isCustomPool) :
|
bool isCustomPool) :
|
||||||
m_Blocks(VmaStlAllocator<VmaDeviceMemoryBlock*>(hAllocator->GetAllocationCallbacks())),
|
|
||||||
m_hAllocator(hAllocator),
|
m_hAllocator(hAllocator),
|
||||||
m_MemoryTypeIndex(memoryTypeIndex),
|
m_MemoryTypeIndex(memoryTypeIndex),
|
||||||
m_BlockVectorType(blockVectorType),
|
m_BlockVectorType(blockVectorType),
|
||||||
@ -5091,6 +5090,7 @@ VmaBlockVector::VmaBlockVector(
|
|||||||
m_BufferImageGranularity(bufferImageGranularity),
|
m_BufferImageGranularity(bufferImageGranularity),
|
||||||
m_FrameInUseCount(frameInUseCount),
|
m_FrameInUseCount(frameInUseCount),
|
||||||
m_IsCustomPool(isCustomPool),
|
m_IsCustomPool(isCustomPool),
|
||||||
|
m_Blocks(VmaStlAllocator<VmaDeviceMemoryBlock*>(hAllocator->GetAllocationCallbacks())),
|
||||||
m_HasEmptyBlock(false),
|
m_HasEmptyBlock(false),
|
||||||
m_pDefragmentator(VMA_NULL)
|
m_pDefragmentator(VMA_NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user