Merge branch 'master' of https://github.com/erwincoumans/bullet3
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user