s/ATTRIBUTE/GENERIC/
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 14 Jun 2006 04:15:16 +0000 (04:15 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 14 Jun 2006 04:15:16 +0000 (04:15 +0000)
src/mesa/swrast_setup/ss_context.c

index 14eaf1d0bf7cbb15842d38166c5f41fb1ba21c00..cd76375d0c9bc855d9cdeb3c9d709e4c6ef6a458 100644 (file)
@@ -149,8 +149,8 @@ _swsetup_RenderStart( GLcontext *ctx )
 
       if (RENDERINPUTS_TEST_RANGE( index_bitset, _TNL_FIRST_GENERIC, _TNL_LAST_GENERIC )) {
           for (i = 0; i < MAX_VERTEX_ATTRIBS; i++) {
-              if (RENDERINPUTS_TEST( index_bitset, _TNL_ATTRIB_ATTRIBUTE(i) )) {
-                  EMIT_ATTR( _TNL_ATTRIB_ATTRIBUTE(i), VARYING_EMIT_STYLE, attribute[i] );
+              if (RENDERINPUTS_TEST( index_bitset, _TNL_ATTRIB_GENERIC(i) )) {
+                  EMIT_ATTR( _TNL_ATTRIB_GENERIC(i), VARYING_EMIT_STYLE, attribute[i] );
               }
           }
       }