This commit is contained in:
Erwin Coumans 2017-09-13 13:31:56 -07:00
commit c220513757

View File

@ -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();
}