mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
delete textures, saner resetGL calling rule?
This commit is contained in:
parent
38559b304b
commit
608692b6df
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user