summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-01-24 14:14:14 -0700
committerBrian <[email protected]>2007-01-24 14:14:14 -0700
commitff917003f6ed35b9ef966397a58c80dc7df98bff (patch)
tree167a7e8cb1e54ddd7a9107d68d2a7dcb046fee9f
parentccea3ff8a9eae16d2ca11b9cedef1318cffe3fb4 (diff)
use FRAG_BIT_TEX()
-rw-r--r--src/mesa/tnl/t_vp_build.c2
1 files changed, 1 insertions, 1 deletions
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<<i)))
+ if (!(p->state->fragprog_inputs_read & (FRAG_BIT_TEX(i))))
continue;
if (p->state->unit[i].texgen_enabled ||