eglPlugin: remove visual shape for removeBody.

This commit is contained in:
erwincoumans committed 2018-10-28 21:08:57 -07:00
1 parent 126537bd93
commit ee76873689
1 file changed
+1
@@ -1257,6 +1257,7 @@ void EGLRendererVisualShapeConverter::removeVisualShape(int collisionObjectUniqu
{
for (int o = 0; o < ptr->m_renderObjects.size(); o++)
{
m_data->m_instancingRenderer->removeGraphicsInstance(ptr->m_graphicsInstanceId);
delete ptr->m_renderObjects[o];
}
}