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