mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-05 21:33:58 +00:00
added ISIOS guards in make_air
This commit is contained in:
parent
029b57d8e1
commit
4f4a7ccde4
4
sky.cpp
4
sky.cpp
@ -441,7 +441,9 @@ EX void make_air() {
|
|||||||
|
|
||||||
eGeometry orig = geometry;
|
eGeometry orig = geometry;
|
||||||
|
|
||||||
|
#if !ISIOS
|
||||||
glDisable(GL_LINE_SMOOTH);
|
glDisable(GL_LINE_SMOOTH);
|
||||||
|
#endif
|
||||||
|
|
||||||
for(auto& g: sky->sky) {
|
for(auto& g: sky->sky) {
|
||||||
transmatrix S;
|
transmatrix S;
|
||||||
@ -470,8 +472,10 @@ EX void make_air() {
|
|||||||
p.draw();
|
p.draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !ISIOS
|
||||||
if(vid.antialias & AA_LINES)
|
if(vid.antialias & AA_LINES)
|
||||||
glEnable(GL_LINE_SMOOTH);
|
glEnable(GL_LINE_SMOOTH);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CAP_SDL
|
#if CAP_SDL
|
||||||
if(anyshiftclick) IMAGESAVE(airbuf->render(), "air.png");
|
if(anyshiftclick) IMAGESAVE(airbuf->render(), "air.png");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user