diff --git a/src/component/CCharacterComponent.cpp b/src/component/CCharacterComponent.cpp index ca0058f..63e2a06 100644 --- a/src/component/CCharacterComponent.cpp +++ b/src/component/CCharacterComponent.cpp @@ -829,7 +829,14 @@ void CCharacterComponent::UpdateBaseTexture(EGxTexCommand cmd, uint32_t width, u } CCharacterComponent::~CCharacterComponent() { - // TODO destroy base texture + // TODO + + if (this->m_baseTexture) { + // TODO GxTexSetCannotUpdate + + HandleClose(this->m_baseTexture); + this->m_baseTexture = nullptr; + } if (this->m_data.model) { this->m_data.model->Release();