From: Brian Paul Date: Tue, 1 Sep 2009 22:10:57 +0000 (-0600) Subject: mesa: change conditional to match the previous one X-Git-Tag: 062012170305~15523^2~253 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84d6bed4d6844110af23a995e2fad0280a92d46c;p=profile%2Fivi%2Fmesa.git mesa: change conditional to match the previous one --- diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 7efb10c..b316c25 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -1401,7 +1401,7 @@ create_new_program(GLcontext *ctx, struct state_key *key, /* Second pass - emit combine instructions to build final color: */ for (unit = 0 ; unit < ctx->Const.MaxTextureUnits; unit++) - if (key->enabled_units & (1<unit[unit].enabled) { p.src_previous = emit_texenv( &p, unit ); reserve_temp(&p, p.src_previous); /* don't re-use this temp reg */ release_temps(ctx, &p); /* release all temps */