diff options
author | Daniel Borca <[email protected]> | 2003-12-23 14:11:22 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2003-12-23 14:11:22 +0000 |
commit | 0ee5f6203c125898fdffbec8d5eea9269aa1559e (patch) | |
tree | 7120d157cec96a80d4515a79f3c2c83675a23806 /src/mesa/drivers/glide/fxvb.c | |
parent | fabb9734ddd1a9b43e7835190f2f4828add2db3c (diff) |
reverted TMUs for proper multitexturing
Diffstat (limited to 'src/mesa/drivers/glide/fxvb.c')
-rw-r--r-- | src/mesa/drivers/glide/fxvb.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/drivers/glide/fxvb.c b/src/mesa/drivers/glide/fxvb.c index 7e3445f8075..7a275ad1c9f 100644 --- a/src/mesa/drivers/glide/fxvb.c +++ b/src/mesa/drivers/glide/fxvb.c @@ -517,13 +517,11 @@ void fxChooseVertexState( GLcontext *ctx ) if (ctx->Texture._EnabledUnits & 0x2) { if (ctx->Texture._EnabledUnits & 0x1) { - ind |= SETUP_TMU1|SETUP_TMU0; - } - else { - fxMesa->tmu_source[0] = 1; - fxMesa->tmu_source[1] = 0; - ind |= SETUP_TMU0; + ind |= SETUP_TMU1; } + ind |= SETUP_TMU0; + fxMesa->tmu_source[0] = 1; + fxMesa->tmu_source[1] = 0; } else if (ctx->Texture._EnabledUnits & 0x1) { ind |= SETUP_TMU0; |