mesa: fix KHR_no_error SSO support

Fixes: 00c5119a5e ("mesa: add KHR_no_error support for glUseProgramStages()")
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
Timothy Arceri
2017-05-12 15:29:57 +10:00
parent 752a6384af
commit 812ff333bf
+1 -1
View File
@@ -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