From 897b9c5cb2e9d4d155b07dc6cf25de648fb3bf20 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 23 Nov 2006 10:13:22 +0000 Subject: [PATCH] Haihao Xiang's edgeflag patch. --- src/mesa/drivers/dri/i965/brw_fallback.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c index 4d84ba88137..56e21e339ef 100644 --- a/src/mesa/drivers/dri/i965/brw_fallback.c +++ b/src/mesa/drivers/dri/i965/brw_fallback.c @@ -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]; -- 2.30.2