mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	added ISIOS guards in make_air
This commit is contained in:
		
							
								
								
									
										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"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue