mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-21 19:50:05 +00:00
Fixed indentation
This commit is contained in:
parent
bffe412f36
commit
be5026f17b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user