mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Implement/match CNewPlayerTags::End()
This commit is contained in:
parent
af70f9d32c
commit
86a2181984
@ -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();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user