diff options
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); } } |