fixed to work with other CAP options

This commit is contained in:
Zeno Rogue committed 2021-03-10 08:40:43 +01:00
1 parent f180f447e6
commit 7cc628fb55
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -660,10 +660,12 @@ EX void resetGL() {
floor_textures = NULL;
}
#endif
#if MAXMDIM >= 4 && CAP_GL
if(airbuf) {
delete airbuf;
airbuf = nullptr;
}
#endif
check_cgi();
if(currentmap) cgi.require_shapes();
#if MAXMDIM >= 4