mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-16 00:42:52 +00:00
gl_shader_manager: Unbind GLSL program when binding a host pipeline
Fixes regression in Link's Awakening caused by 420cc13248
This commit is contained in:
parent
86345c126a
commit
c13e2f1b75
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue