[saco] Implement/match CUnkClass13 destructor

This commit is contained in:
RD42 2024-08-26 23:25:58 +08:00
parent de0bb23232
commit 64646f0bfe
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,11 @@ CUnkClass13::CUnkClass13(IDirect3DDevice9 *pD3DDevice)
RestoreDeviceObjects();
}
CUnkClass13::~CUnkClass13()
{
DeleteDeviceObjects();
}
void CUnkClass13::DeleteDeviceObjects()
{
SAFE_RELEASE(m_pD3DSurface);

View File

@ -13,6 +13,7 @@ private:
public:
CUnkClass13(IDirect3DDevice9 *pD3DDevice);
~CUnkClass13();
void DeleteDeviceObjects();
void RestoreDeviceObjects();