1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

delete airbuf on resetGL

This commit is contained in:
Zeno Rogue 2021-03-09 10:43:50 +01:00
parent 353af95596
commit c4ab8cca8b

View File

@ -664,6 +664,10 @@ EX void resetGL() {
floor_textures = NULL;
}
#endif
if(airbuf) {
delete airbuf;
airbuf = nullptr;
}
check_cgi();
if(currentmap) cgi.require_shapes();
#if MAXMDIM >= 4