mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-26 22:00:07 +00:00
Merge pull request #48 from fecf/master
Fixed AllocatorPimpl::m_Device10 not being released
This commit is contained in:
commit
f128d39b7a
@ -6848,6 +6848,9 @@ HRESULT AllocatorPimpl::Init(const ALLOCATOR_DESC& desc)
|
||||
|
||||
AllocatorPimpl::~AllocatorPimpl()
|
||||
{
|
||||
#ifdef __ID3D12Device10_INTERFACE_DEFINED__
|
||||
SAFE_RELEASE(m_Device10);
|
||||
#endif
|
||||
#ifdef __ID3D12Device8_INTERFACE_DEFINED__
|
||||
SAFE_RELEASE(m_Device8);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user