CID:
1461397
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4500>
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);
}
}