Module: Mesa Branch: master Commit: 812ff333bf266e848ad0473d2ca1deb83c09c4d3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=812ff333bf266e848ad0473d2ca1deb83c09c4d3
Author: Timothy Arceri <tarc...@itsqueeze.com> Date: Fri May 12 15:29:57 2017 +1000 mesa: fix KHR_no_error SSO support Fixes: 00c5119a5e821 ("mesa: add KHR_no_error support for glUseProgramStages()") Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- src/mesa/main/pipelineobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c index 67a8fc8cb9..0d1d57cb7e 100644 --- a/src/mesa/main/pipelineobj.c +++ b/src/mesa/main/pipelineobj.c @@ -265,7 +265,7 @@ _mesa_UseProgramStages_no_error(GLuint pipeline, GLbitfield stages, struct gl_shader_program *shProg = NULL; if (prog) - _mesa_lookup_shader_program(ctx, prog); + shProg = _mesa_lookup_shader_program(ctx, prog); /* Object is created by any Pipeline call but glGenProgramPipelines, * glIsProgramPipeline and GetProgramPipelineInfoLog _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit