Haihao Xiang's edgeflag patch.
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 23 Nov 2006 10:13:22 +0000 (10:13 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 23 Nov 2006 10:13:22 +0000 (10:13 +0000)
src/mesa/drivers/dri/i965/brw_fallback.c

index 4d84ba88137fd693110a88ca40bf5950430abc56..56e21e339efbffd2fb689b14e55d1f76d1df62fa 100644 (file)
@@ -280,6 +280,9 @@ void brw_loopback_vertex_list( GLcontext *ctx,
    GLuint i, nr = 0;
 
    for (i = 0 ; i <= BRW_ATTRIB_TEX7 ; i++) {
+      if (i == BRW_ATTRIB_INDEX || i == BRW_ATTRIB_EDGEFLAG)
+                   continue;
+
       if (attrsz[i]) {
         la[nr].target = i;
         la[nr].sz = attrsz[i];