mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	Merge pull request #3993 from ReinUsesLisp/fix-zla
gl_shader_manager: Unbind GLSL program when binding a host pipeline
This commit is contained in:
		@@ -47,6 +47,10 @@ void ProgramManager::BindHostPipeline(GLuint pipeline) {
 | 
			
		||||
            old_state.geometry = 0;
 | 
			
		||||
            glDisable(GL_GEOMETRY_PROGRAM_NV);
 | 
			
		||||
        }
 | 
			
		||||
    } else {
 | 
			
		||||
        if (!is_graphics_bound) {
 | 
			
		||||
            glUseProgram(0);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    glBindProgramPipeline(pipeline);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user