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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user