diff options
author | Brian Paul <[email protected]> | 2002-06-06 16:19:25 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-06-06 16:19:25 +0000 |
commit | e0107e87a71ffcddc9400287ee675f0011cdc31b (patch) | |
tree | 3c9b51be2efbd1060deb76126aa704329d1cbfdd /src/mesa/drivers | |
parent | 241afd837c09d42d38a23f9c5e988c50bfacfc30 (diff) |
replaced 0xf and 0xf0 with TEXTURE0_ANY and TEXTURE1_ANY
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/glide/fxvb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxvb.c b/src/mesa/drivers/glide/fxvb.c index 2af5e26a018..4983d5f12b4 100644 --- a/src/mesa/drivers/glide/fxvb.c +++ b/src/mesa/drivers/glide/fxvb.c @@ -1,4 +1,4 @@ -/* $Id: fxvb.c,v 1.11 2001/09/23 16:50:01 brianp Exp $ */ +/* $Id: fxvb.c,v 1.12 2002/06/06 16:19:25 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -342,8 +342,8 @@ void fxChooseVertexState( GLcontext *ctx ) fxMesa->tmu_source[0] = 0; fxMesa->tmu_source[1] = 1; - if (ctx->Texture._ReallyEnabled & 0xf0) { - if (ctx->Texture._ReallyEnabled & 0xf) { + if (ctx->Texture._ReallyEnabled & TEXTURE1_ANY) { + if (ctx->Texture._ReallyEnabled & TEXTURE0_ANY) { ind |= SETUP_TMU1|SETUP_TMU0; } else { @@ -352,7 +352,7 @@ void fxChooseVertexState( GLcontext *ctx ) ind |= SETUP_TMU0; } } - else if (ctx->Texture._ReallyEnabled & 0xf) { + else if (ctx->Texture._ReallyEnabled & TETURE0_ANY) { ind |= SETUP_TMU0; } |