mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Release all internal pointers in wrapped device configuration
This commit is contained in:
@@ -372,7 +372,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
~WrappedID3D12DeviceConfiguration() { SAFE_RELEASE(m_pReal); }
|
||||
~WrappedID3D12DeviceConfiguration()
|
||||
{
|
||||
SAFE_RELEASE(m_pReal);
|
||||
SAFE_RELEASE(m_pReal1);
|
||||
}
|
||||
|
||||
bool IsValid() { return m_pReal != NULL; }
|
||||
bool IsValid1() { return m_pReal1 != NULL; }
|
||||
|
||||
Reference in New Issue
Block a user