1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

added ISIOS guards in make_air

This commit is contained in:
Zeno Rogue 2021-06-06 10:49:21 +02:00
parent 029b57d8e1
commit 4f4a7ccde4

View File

@ -441,7 +441,9 @@ EX void make_air() {
eGeometry orig = geometry;
#if !ISIOS
glDisable(GL_LINE_SMOOTH);
#endif
for(auto& g: sky->sky) {
transmatrix S;
@ -470,8 +472,10 @@ EX void make_air() {
p.draw();
}
#if !ISIOS
if(vid.antialias & AA_LINES)
glEnable(GL_LINE_SMOOTH);
#endif
#if CAP_SDL
if(anyshiftclick) IMAGESAVE(airbuf->render(), "air.png");