mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[saco] Implement/match CNewPlayerTags::End()
This commit is contained in:
@ -41,6 +41,15 @@ void CNewPlayerTags::Begin()
|
||||
m_pDevice->SetRenderState(D3DRS_ZENABLE, 0);
|
||||
}
|
||||
|
||||
void CNewPlayerTags::End()
|
||||
{
|
||||
if(m_pSprite)
|
||||
m_pSprite->End();
|
||||
|
||||
if(m_pStates)
|
||||
m_pStates->Apply();
|
||||
}
|
||||
|
||||
void CNewPlayerTags::DeleteDeviceObjects()
|
||||
{
|
||||
SAFE_RELEASE(m_pStates);
|
||||
|
@ -13,6 +13,7 @@ public:
|
||||
~CNewPlayerTags();
|
||||
|
||||
void Begin();
|
||||
void End();
|
||||
void DeleteDeviceObjects();
|
||||
void RestoreDeviceObjects();
|
||||
};
|
||||
|
Reference in New Issue
Block a user