Merge remote-tracking branch 'bp/master'

This commit is contained in:
Erwin Coumans
2019-07-21 13:13:52 -07:00

View File

@@ -1036,7 +1036,7 @@ void HeightfieldExample::clearWorld(void)
m_collisionShapes.clear(); m_collisionShapes.clear();
// delete raw heightfield data // delete raw heightfield data
delete m_rawHeightfieldData; delete[] m_rawHeightfieldData;
m_rawHeightfieldData = NULL; m_rawHeightfieldData = NULL;
} }
} }