summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_fallback.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2006-11-23 10:13:22 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2006-11-23 10:13:22 +0000
commit897b9c5cb2e9d4d155b07dc6cf25de648fb3bf20 (patch)
tree87008a5cd122c2f704ebd97653c8cb454f97c422 /src/mesa/drivers/dri/i965/brw_fallback.c
parentc4649208f085fb9137c6b52dcdbdfa2810a0691b (diff)
Haihao Xiang's edgeflag patch.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fallback.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fallback.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fallback.c b/src/mesa/drivers/dri/i965/brw_fallback.c
index 4d84ba8813..56e21e339e 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];