summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide/fxvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/glide/fxvb.c')
-rw-r--r--src/mesa/drivers/glide/fxvb.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/drivers/glide/fxvb.c b/src/mesa/drivers/glide/fxvb.c
index 7e3445f807..7a275ad1c9 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;