From: Brian Date: Wed, 24 Jan 2007 21:14:14 +0000 (-0700) Subject: use FRAG_BIT_TEX() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff917003f6ed35b9ef966397a58c80dc7df98bff;p=mesa.git use FRAG_BIT_TEX() --- diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index 5e146bfb360..d80afaf2452 100644 --- a/src/mesa/tnl/t_vp_build.c +++ b/src/mesa/tnl/t_vp_build.c @@ -1213,7 +1213,7 @@ static void build_texture_transform( struct tnl_program *p ) for (i = 0; i < MAX_TEXTURE_UNITS; i++) { - if (!(p->state->fragprog_inputs_read & (FRAG_BIT_TEX0<state->fragprog_inputs_read & (FRAG_BIT_TEX(i)))) continue; if (p->state->unit[i].texgen_enabled ||