diff options
author | Tapani Pälli <[email protected]> | 2020-04-09 10:41:45 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2020-04-12 16:48:45 +0300 |
commit | e667802a7cb46c0aaeb93d3753d9c356c72b604e (patch) | |
tree | 535f19baccd57d843285836534d93bb40afaa918 /src/mesa | |
parent | fd241722006def2dfdffaf260daa74dc19332cae (diff) |
mesa: remove redudant assignment
CID: 1461397
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Andres Gomez <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4500>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/shaderapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |