mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	fixed a crash caused by glhr::init on some video cards
This commit is contained in:
		
							
								
								
									
										3
									
								
								glhr.cpp
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								glhr.cpp
									
									
									
									
									
								
							| @@ -664,6 +664,9 @@ void init() { | |||||||
|   GLERR("aPosition"); |   GLERR("aPosition"); | ||||||
|   // #endif |   // #endif | ||||||
|    |    | ||||||
|  |   glDisableVertexAttribArray(aTexture); | ||||||
|  |   glDisableVertexAttribArray(aColor); | ||||||
|  |  | ||||||
|   #if CAP_VERTEXBUFFER |   #if CAP_VERTEXBUFFER | ||||||
|   glGenBuffers(1, &buf_current); |   glGenBuffers(1, &buf_current); | ||||||
|   glGenBuffers(1, &buf_buffered); |   glGenBuffers(1, &buf_buffered); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue