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; floor_textures = NULL;
} }
#endif #endif
#if MAXMDIM >= 4 && CAP_GL
if(airbuf) { if(airbuf) {
delete airbuf; delete airbuf;
airbuf = nullptr; airbuf = nullptr;
} }
#endif
check_cgi(); check_cgi();
if(currentmap) cgi.require_shapes(); if(currentmap) cgi.require_shapes();
#if MAXMDIM >= 4 #if MAXMDIM >= 4

View File

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