mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-04 17:19:09 +00:00
feat(ui): clear render batch in dtor
This commit is contained in:
parent
75982f4091
commit
e80d960d6b
2 changed files with 5 additions and 0 deletions
|
|
@ -41,6 +41,10 @@ EGxBlend CSimpleBatchedMesh::GetAlphaMode() {
|
|||
}
|
||||
}
|
||||
|
||||
CRenderBatch::~CRenderBatch() {
|
||||
this->Clear();
|
||||
}
|
||||
|
||||
void CRenderBatch::Clear() {
|
||||
this->m_texturelist.SetCount(0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue