mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-23 07:14:34 +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