Release all internal pointers in wrapped device configuration

This commit is contained in:
baldurk
2024-09-05 12:11:41 +01:00
parent 5fe6b5c8e2
commit bd62fb9a1d
+5 -1
View File
@@ -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; }