mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Remove unused freeSpaceBlockSize variable.
This commit is contained in:
parent
e9ae4199c6
commit
65f096555d
@ -12978,7 +12978,6 @@ VkResult VmaDefragmentationAlgorithm_Fast::Defragment(
|
||||
size_t freeSpaceOrigBlockIndex = m_BlockInfos[freeSpaceInfoIndex].origBlockIndex;
|
||||
VmaDeviceMemoryBlock* pFreeSpaceBlock = m_pBlockVector->GetBlock(freeSpaceOrigBlockIndex);
|
||||
VmaBlockMetadata_Generic* pFreeSpaceMetadata = (VmaBlockMetadata_Generic*)pFreeSpaceBlock->m_pMetadata;
|
||||
VkDeviceSize freeSpaceBlockSize = pFreeSpaceMetadata->GetSize();
|
||||
|
||||
// Same block
|
||||
if(freeSpaceInfoIndex == srcBlockInfoIndex)
|
||||
|
Loading…
Reference in New Issue
Block a user