mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-06 22:59:53 +03:00
feat(model): clear texture transforms in CM2Model::FreeInternalResources
This commit is contained in:
1 file changed
+3
-4
@@ -991,10 +991,9 @@ void CM2Model::FreeInternalResources() {
|
||||
this->m_textureWeights = nullptr;
|
||||
}
|
||||
|
||||
// TODO
|
||||
// if (this->m_textureTransforms) {
|
||||
// this->m_textureTransforms = nullptr;
|
||||
// }
|
||||
if (this->m_textureTransforms) {
|
||||
this->m_textureTransforms = nullptr;
|
||||
}
|
||||
|
||||
if (this->m_attachments) {
|
||||
this->m_attachments = nullptr;
|
||||
|
||||
Reference in new issue
Block a user