mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 11:37:47 +00: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:
commit
595b97a0d7
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,10 @@ void ProgramManager::BindHostPipeline(GLuint pipeline) {
|
||||||
old_state.geometry = 0;
|
old_state.geometry = 0;
|
||||||
glDisable(GL_GEOMETRY_PROGRAM_NV);
|
glDisable(GL_GEOMETRY_PROGRAM_NV);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (!is_graphics_bound) {
|
||||||
|
glUseProgram(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
glBindProgramPipeline(pipeline);
|
glBindProgramPipeline(pipeline);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue