mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	Increase required OpenGL version to 3.3
This gives us several niceties such as Sampler Objects, shader attribute locations and Timer Queries.
This commit is contained in:
		@@ -89,7 +89,7 @@ EmuWindow_GLFW::EmuWindow_GLFW() {
 | 
			
		||||
        exit(1);
 | 
			
		||||
    }
 | 
			
		||||
    glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
 | 
			
		||||
    glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
 | 
			
		||||
    glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
 | 
			
		||||
    // GLFW on OSX requires these window hints to be set to create a 3.2+ GL context.
 | 
			
		||||
    glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
 | 
			
		||||
    glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user