From e667802a7cb46c0aaeb93d3753d9c356c72b604e Mon Sep 17 00:00:00 2001 From: Tapani Pälli Date: Thu, 9 Apr 2020 10:41:45 +0300 Subject: mesa: remove redudant assignment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CID: 1461397 Signed-off-by: Tapani Pälli Reviewed-by: Andres Gomez Part-of: --- src/mesa/main/shaderapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index a812b6c06e9..0aa05475247 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -1265,7 +1265,7 @@ update_programs_in_pipeline(GLuint key, void *data, void *userData) for (unsigned stage = 0; stage < MESA_SHADER_STAGES; stage++) { if (obj->CurrentProgram[stage] && obj->CurrentProgram[stage]->Id == params->shProg->Name) { - struct gl_program *prog = prog = params->shProg->_LinkedShaders[stage]->Program; + struct gl_program *prog = params->shProg->_LinkedShaders[stage]->Program; _mesa_use_program(params->ctx, stage, params->shProg, prog, obj); } } -- cgit v1.2.3