mirror of
https://github.com/aap/librw.git
synced 2025-12-20 01:19:51 +00:00
implemented d3d8 uninstance
This commit is contained in:
@@ -72,8 +72,8 @@ Geometry::~Geometry(void)
|
||||
delete[] this->morphTargets;
|
||||
|
||||
if(this->meshHeader){
|
||||
for(uint32 i = 0; i < this->meshHeader->numMeshes; i++)
|
||||
delete[] this->meshHeader->mesh[i].indices;
|
||||
// first mesh holds pointer to all indices
|
||||
delete[] this->meshHeader->mesh[0].indices;
|
||||
delete[] this->meshHeader->mesh;
|
||||
delete this->meshHeader;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user