[saco] Implement/match CNewPlayerTags::End()

This commit is contained in:
RD42 2024-07-28 22:43:41 +08:00
parent af70f9d32c
commit 86a2181984
2 changed files with 10 additions and 0 deletions

View File

@ -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);

View File

@ -13,6 +13,7 @@ public:
~CNewPlayerTags();
void Begin();
void End();
void DeleteDeviceObjects();
void RestoreDeviceObjects();
};