fixed to work with other CAP options

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

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

View File

@ -322,12 +322,12 @@ struct fpattern {
int solve3();
bool generate_all3();
vector<triplet_info> find_triplets();
#if CAP_THREAD
struct discovery *dis;
#endif
#endif
vector<triplet_info> find_triplets();
};
#if CAP_THREAD && MAXMDIM >= 4