Browse Source
Merge pull request #3993 from ReinUsesLisp/fix-zla
gl_shader_manager: Unbind GLSL program when binding a host pipeline
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
src/video_core/renderer_opengl/gl_shader_manager.cpp
|
|
|
@ -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); |
|
|
|
} |
|
|
|
|