mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed a crash when displaying inventory with OpenGL off
This commit is contained in:
		
							
								
								
									
										2
									
								
								glhr.cpp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								glhr.cpp
									
									
									
									
									
								
							| @@ -310,7 +310,7 @@ EX int compileShader(int type, const string& s) { | |||||||
|   } |   } | ||||||
|  |  | ||||||
| GLprogram::GLprogram(string vsh, string fsh) { | GLprogram::GLprogram(string vsh, string fsh) { | ||||||
|   if(noshaders) { |   if(noshaders || !vid.usingGL) { | ||||||
|     uFog = -1; |     uFog = -1; | ||||||
|     uProjection = -1; |     uProjection = -1; | ||||||
|     uPP = -1; |     uPP = -1; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue