From a0371b0b3cdf3901985215d98e265b1a2131455a Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 13 Jan 2005 14:57:34 +0000 Subject: [PATCH] Simplify viaChooseVertexState slightly. --- src/mesa/drivers/dri/unichrome/via_tris.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/unichrome/via_tris.c b/src/mesa/drivers/dri/unichrome/via_tris.c index 2f405452d74..dd00371e79b 100644 --- a/src/mesa/drivers/dri/unichrome/via_tris.c +++ b/src/mesa/drivers/dri/unichrome/via_tris.c @@ -744,11 +744,7 @@ static void viaChooseVertexState( GLcontext *ctx ) } if (index & _TNL_BIT_TEX(1)) { - if (!(index & _TNL_BIT_TEX(0))) { - EMIT_ATTR( _TNL_ATTRIB_TEX1, EMIT_2F, VIA_EMIT_TEX1, (HC_HVPMSK_S | HC_HVPMSK_T) ); - } else { - EMIT_ATTR( _TNL_ATTRIB_TEX1, EMIT_2F, VIA_EMIT_TEX1, 0 ); - } + EMIT_ATTR( _TNL_ATTRIB_TEX1, EMIT_2F, VIA_EMIT_TEX1, (HC_HVPMSK_S | HC_HVPMSK_T) ); } if (setupIndex != vmesa->setupIndex) { -- 2.30.2