mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 03:33:04 +08:00
[saco] Implement/match CUnkClass14::DeleteDeviceObjects()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user