mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/D3D12MemoryAllocator.git
synced 2024-11-09 14:10:07 +00:00
Fixed AllocatorPimpl::m_Device10 not being released
This commit is contained in:
parent
aae28a6fc9
commit
132559d399
@ -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