mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
Merge branch 'master' of https://github.com/erwincoumans/bullet3
This commit is contained in:
commit
c220513757
@ -1080,7 +1080,12 @@ void TinyRendererVisualShapeConverter::resetAll()
|
||||
delete ptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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