| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -589,7 +589,6 @@ GLFWAPI int glfwExtensionSupported(const char* extension) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    const GLubyte* extensions; | 
					 | 
					 | 
					 | 
					    const GLubyte* extensions; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    _GLFWwindow* window; | 
					 | 
					 | 
					 | 
					    _GLFWwindow* window; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    GLubyte* where; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    GLint count; | 
					 | 
					 | 
					 | 
					    GLint count; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    int i; | 
					 | 
					 | 
					 | 
					    int i; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -606,10 +605,11 @@ GLFWAPI int glfwExtensionSupported(const char* extension) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return GL_FALSE; | 
					 | 
					 | 
					 | 
					        return GL_FALSE; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    // Extension names should not have spaces
 | 
					 | 
					 | 
					 | 
					    if (extension == NULL || *extension == '\0') | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    where = (GLubyte*) strchr(extension, ' '); | 
					 | 
					 | 
					 | 
					    { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (where || *extension == '\0') | 
					 | 
					 | 
					 | 
					        _glfwSetError(GLFW_INVALID_VALUE, NULL); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return GL_FALSE; | 
					 | 
					 | 
					 | 
					        return GL_FALSE; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (window->glMajor < 3) | 
					 | 
					 | 
					 | 
					    if (window->glMajor < 3) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    { | 
					 | 
					 | 
					 | 
					    { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |