Fixed indentation

This commit is contained in:
Adam Sawicki 2022-12-16 15:53:25 +01:00
parent bffe412f36
commit be5026f17b

View File

@ -10098,7 +10098,7 @@ HRESULT Allocator::CreateResource3(
{
if (!pAllocDesc || !pResourceDesc || !ppAllocation)
{
D3D12MA_ASSERT(0 && "Invalid arguments passed to Allocator::CreateResource2.");
D3D12MA_ASSERT(0 && "Invalid arguments passed to Allocator::CreateResource3.");
return E_INVALIDARG;
}
D3D12MA_DEBUG_GLOBAL_MUTEX_LOCK
@ -10297,7 +10297,6 @@ Allocator::~Allocator()
BOOL VirtualBlock::IsEmpty() const
{
D3D12MA_DEBUG_GLOBAL_MUTEX_LOCK
return m_Pimpl->m_Metadata->IsEmpty() ? TRUE : FALSE;
}
@ -10306,7 +10305,6 @@ void VirtualBlock::GetAllocationInfo(VirtualAllocation allocation, VIRTUAL_ALLOC
D3D12MA_ASSERT(allocation.AllocHandle != (AllocHandle)0 && pInfo);
D3D12MA_DEBUG_GLOBAL_MUTEX_LOCK
m_Pimpl->m_Metadata->GetAllocationInfo(allocation.AllocHandle, *pInfo);
}
@ -10369,7 +10367,6 @@ void VirtualBlock::SetAllocationPrivateData(VirtualAllocation allocation, void*
D3D12MA_ASSERT(allocation.AllocHandle != (AllocHandle)0);
D3D12MA_DEBUG_GLOBAL_MUTEX_LOCK
m_Pimpl->m_Metadata->SetAllocationPrivateData(allocation.AllocHandle, pPrivateData);
}