delete textures, saner resetGL calling rule?

This commit is contained in:
Zeno Rogue
2019-09-12 22:38:46 +02:00
parent 38559b304b
commit 608692b6df
2 changed files with 6 additions and 4 deletions
+5 -1
View File
@@ -654,8 +654,12 @@ void resetGL() {
delete glfont[i];
glfont[i] = NULL;
}
if(floor_textures) {
delete floor_textures;
floor_textures = NULL;
}
#endif
buildpolys();
resetGeometry(); // includes buildPoly
}
#endif