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:
parent
029b57d8e1
commit
4f4a7ccde4
4
sky.cpp
4
sky.cpp
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user