From: Brian Paul Date: Tue, 1 Sep 2009 22:10:57 +0000 (-0600) Subject: mesa: change conditional to match the previous one X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84d6bed4d6844110af23a995e2fad0280a92d46c;p=mesa.git mesa: change conditional to match the previous one --- diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 7efb10c5a0f..b316c258098 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 */