diff options
author | Brian <[email protected]> | 2007-01-24 14:14:14 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-24 14:14:14 -0700 |
commit | ff917003f6ed35b9ef966397a58c80dc7df98bff (patch) | |
tree | 167a7e8cb1e54ddd7a9107d68d2a7dcb046fee9f /src/mesa/tnl | |
parent | ccea3ff8a9eae16d2ca11b9cedef1318cffe3fb4 (diff) |
use FRAG_BIT_TEX()
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_vp_build.c | 2 |
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 || |