1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-07 09:13:02 +00:00

fixed compilation without CAP_TEXTURE

This commit is contained in:
Zeno Rogue
2018-08-22 00:14:31 +02:00
parent 96d33046f2
commit 112a38dee9
4 changed files with 26 additions and 10 deletions

View File

@@ -405,7 +405,10 @@ void showEuclideanMenu() {
else if(binarytiling) {
dialog::editNumber(vid.binary_width, 0, 2, 0.1, 1, XLAT("binary tiling width"), "");
dialog::reaction = [] () {
resetGeometry(); texture::config.remap();
resetGeometry();
#if CAP_TEXTURE
texture::config.remap();
#endif
};
}
else // if(S3 == 3)