mirror of https://github.com/ZDoom/gzdoom-gles.git
- fixed: Models must not delete their skin textures because they are stored in the texture manager which will be responsible for doing this.
This commit is contained in:
parent
b6dab83d2b
commit
0f8ed0123f
|
@ -201,7 +201,6 @@ class FMD3Model : public FModel
|
||||||
if (tris) delete [] tris;
|
if (tris) delete [] tris;
|
||||||
if (vertices) delete [] vertices;
|
if (vertices) delete [] vertices;
|
||||||
if (texcoords) delete [] texcoords;
|
if (texcoords) delete [] texcoords;
|
||||||
for (int i=0;i<numSkins;i++) delete skins[i];
|
|
||||||
if (skins) delete [] skins;
|
if (skins) delete [] skins;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue