[saco] Implement/match CChatWindow::ReleaseTextures and the FUNC_10067410 tail call into it, which is a bare 5-byte jmp

This commit is contained in:
ricardoofnl
2026-09-04 22:35:18 +07:00
parent 1e1006c1f1
commit 3c6628a812
2 changed files with 31 additions and 0 deletions
+27
View File
@@ -301,3 +301,30 @@ void CChatWindow::AddInfoMessage(CHAR * szFormat, ...)
sub_10067BE0(4, szBuffer, 0, m_dwChatInfoColor, 0);
}
//----------------------------------------------------
void CChatWindow::ReleaseTextures()
{
if(field_63BE) {
field_63BE->Release();
field_63BE = NULL;
}
if(field_63BA) {
field_63BA->Release();
field_63BA = NULL;
}
if(field_63B6) {
field_63B6->Release();
field_63B6 = NULL;
}
}
//----------------------------------------------------
void CChatWindow::FUNC_10067410()
{
ReleaseTextures();
}