mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
Merge branch 'master' of https://github.com/erwincoumans/bullet3
This commit is contained in:
commit
c220513757
@ -1081,6 +1081,11 @@ void TinyRendererVisualShapeConverter::resetAll()
|
||||
}
|
||||
}
|
||||
|
||||
for (int i=0;i<m_data->m_textures.size();i++)
|
||||
{
|
||||
free(m_data->m_textures[i].textureData);
|
||||
}
|
||||
m_data->m_textures.clear();
|
||||
m_data->m_swRenderInstances.clear();
|
||||
m_data->m_visualShapes.clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user