[saco] Implement/match CUnkClass14::DeleteDeviceObjects()

This commit is contained in:
RD42 2024-08-26 22:45:22 +08:00
parent d6b207ac3c
commit 258392acf5
2 changed files with 7 additions and 0 deletions

View File

@ -10,6 +10,12 @@ CUnkClass14::CUnkClass14(IDirect3DDevice9 *pD3DDevice)
RestoreDeviceObjects();
}
void CUnkClass14::DeleteDeviceObjects()
{
SAFE_RELEASE(m_pD3DSprite2);
SAFE_RELEASE(m_pD3DSprite1);
}
void CUnkClass14::RestoreDeviceObjects()
{
D3DXCreateSprite(m_pD3DDevice, &m_pD3DSprite1);

View File

@ -11,5 +11,6 @@ private:
public:
CUnkClass14(IDirect3DDevice9 *pD3DDevice);
void DeleteDeviceObjects();
void RestoreDeviceObjects();
};