mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-21 19:50:05 +00:00
Merge pull request #22 from danielkrupinski/unused-variable
Remove unused 'sumBlockSize' variable
This commit is contained in:
commit
c8d269e89a
@ -4066,7 +4066,6 @@ void BlockVector::Free(Allocation* hAllocation)
|
||||
D3D12MA_HEAVY_ASSERT(pBlock->Validate());
|
||||
|
||||
const size_t blockCount = m_Blocks.size();
|
||||
const UINT64 sumBlockSize = CalcSumBlockSize();
|
||||
// pBlock became empty after this deallocation.
|
||||
if(pBlock->m_pMetadata->IsEmpty())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user