mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CUnkClass14::DeleteDeviceObjects()
This commit is contained in:
parent
d6b207ac3c
commit
258392acf5
@ -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);
|
||||
|
@ -11,5 +11,6 @@ private:
|
||||
public:
|
||||
CUnkClass14(IDirect3DDevice9 *pD3DDevice);
|
||||
|
||||
void DeleteDeviceObjects();
|
||||
void RestoreDeviceObjects();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user