mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Implement/match CNewPlayerTags destructor
This commit is contained in:
parent
efbb695cae
commit
e7af6d933f
@ -10,6 +10,12 @@ CNewPlayerTags::CNewPlayerTags(IDirect3DDevice9* pDevice)
|
||||
D3DXCreateSprite(pDevice, &m_pSprite);
|
||||
}
|
||||
|
||||
CNewPlayerTags::~CNewPlayerTags()
|
||||
{
|
||||
if(m_pStates) m_pStates->Release();
|
||||
SAFE_DELETE(m_pSprite);
|
||||
}
|
||||
|
||||
void CNewPlayerTags::RestoreDeviceObjects()
|
||||
{
|
||||
if(m_pSprite)
|
||||
|
@ -10,6 +10,7 @@ private:
|
||||
|
||||
public:
|
||||
CNewPlayerTags(IDirect3DDevice9* pDevice);
|
||||
~CNewPlayerTags();
|
||||
|
||||
void RestoreDeviceObjects();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user