diff options
author | Timothy Arceri <[email protected]> | 2017-05-12 15:29:57 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-05-13 20:56:34 +1000 |
commit | 812ff333bf266e848ad0473d2ca1deb83c09c4d3 (patch) | |
tree | 3d8cde5020c3b81ecaea60eba433bd7cc21874c1 | |
parent | 752a6384af3a184d7f6e8ab68ea5b674be2ede4e (diff) |
mesa: fix KHR_no_error SSO support
Fixes: 00c5119a5e821 ("mesa: add KHR_no_error support for glUseProgramStages()")
Reviewed-by: Samuel Pitoiset <[email protected]>
-rw-r--r-- | src/mesa/main/pipelineobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c index 67a8fc8cb95..0d1d57cb7e6 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 |