mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Implement/match CUnkClass14 destructor
This commit is contained in:
parent
258392acf5
commit
94e10d91ee
@ -10,6 +10,11 @@ CUnkClass14::CUnkClass14(IDirect3DDevice9 *pD3DDevice)
|
||||
RestoreDeviceObjects();
|
||||
}
|
||||
|
||||
CUnkClass14::~CUnkClass14()
|
||||
{
|
||||
DeleteDeviceObjects();
|
||||
}
|
||||
|
||||
void CUnkClass14::DeleteDeviceObjects()
|
||||
{
|
||||
SAFE_RELEASE(m_pD3DSprite2);
|
||||
|
@ -10,6 +10,7 @@ private:
|
||||
|
||||
public:
|
||||
CUnkClass14(IDirect3DDevice9 *pD3DDevice);
|
||||
~CUnkClass14();
|
||||
|
||||
void DeleteDeviceObjects();
|
||||
void RestoreDeviceObjects();
|
||||
|
Loading…
Reference in New Issue
Block a user