1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-07 01:03:00 +00:00

delete textures, saner resetGL calling rule?

This commit is contained in:
Zeno Rogue
2019-03-16 22:49:12 +01:00
parent 38559b304b
commit 608692b6df
2 changed files with 6 additions and 4 deletions

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