diff --git a/floorshapes.cpp b/floorshapes.cpp index 7b43829b..ef33b682 100644 --- a/floorshapes.cpp +++ b/floorshapes.cpp @@ -26,7 +26,10 @@ EX vector floor_texture_vertices; EX vector floor_texture_map; EX struct renderbuffer *floor_textures; +EX bool disable_floorshapes = false; /* tiles generates faster, but crash on drawing */ + void geometry_information::init_floorshapes() { + if(disable_floorshapes) return; all_escher_floorshapes.clear(); all_plain_floorshapes = { &shFloor, &shMFloor, &shMFloor2, &shMFloor3, &shMFloor4,