diff options
author | Keith Whitwell <[email protected]> | 2005-01-13 14:57:34 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-01-13 14:57:34 +0000 |
commit | a0371b0b3cdf3901985215d98e265b1a2131455a (patch) | |
tree | c7ffb27b70b24005a8b0d75b3490d9b3a6db85db /src | |
parent | d9af44f358653db808597a838804fbc2dfddbeb6 (diff) |
Simplify viaChooseVertexState slightly.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_tris.c | 6 |
1 files changed, 1 insertions, 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) { |