mirror of
				https://github.com/glfw/glfw.git
				synced 2025-11-04 14:16:42 +00:00 
			
		
		
		
	Added reference to extension.
This commit is contained in:
		
							parent
							
								
									c4250ca384
								
							
						
					
					
						commit
						b29c4bae53
					
				@ -514,8 +514,9 @@ GLFWAPI GLFWwindow glfwOpenWindow(int width, int height,
 | 
			
		||||
        if (wndconfig.glMajor != 2 || wndconfig.glMinor < 0)
 | 
			
		||||
        {
 | 
			
		||||
            // The OpenGL ES 2.0 profile is currently only defined for version
 | 
			
		||||
            // 2.0, but for compatibility with future updates to OpenGL ES, we
 | 
			
		||||
            // allow everything 2.x and let the driver report invalid versions
 | 
			
		||||
            // 2.0 (see {WGL|GLX}_EXT_create_context_es2_profile), but for
 | 
			
		||||
            // compatibility with future updates to OpenGL ES, we allow
 | 
			
		||||
            // everything 2.x and let the driver report invalid versions
 | 
			
		||||
 | 
			
		||||
            glfwCloseWindow(window);
 | 
			
		||||
            _glfwSetError(GLFW_INVALID_VALUE);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user