delete airbuf on resetGL
This commit is contained in:
parent
353af95596
commit
c4ab8cca8b
|
@ -664,6 +664,10 @@ EX void resetGL() {
|
||||||
floor_textures = NULL;
|
floor_textures = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if(airbuf) {
|
||||||
|
delete airbuf;
|
||||||
|
airbuf = nullptr;
|
||||||
|
}
|
||||||
check_cgi();
|
check_cgi();
|
||||||
if(currentmap) cgi.require_shapes();
|
if(currentmap) cgi.require_shapes();
|
||||||
#if MAXMDIM >= 4
|
#if MAXMDIM >= 4
|
||||||
|
|
Loading…
Reference in New Issue