draw: run the pipeline with the correct number of verts
authorZack Rusin <zackr@vmware.com>
Tue, 15 Jun 2010 13:11:10 +0000 (09:11 -0400)
committerZack Rusin <zackr@vmware.com>
Tue, 15 Jun 2010 13:12:20 +0000 (09:12 -0400)
verts per primitive, not total count

src/gallium/auxiliary/draw/draw_pipe.c

index 5cc2a7521a8ab60116ba15a61cc718651fceac3a..83556f10a8b3fb8749e29003f0d588a7a52aa1ae 100644 (file)
@@ -382,7 +382,7 @@ void draw_pipeline_run_linear( struct draw_context *draw,
                       prim_info->prim,
                       (struct vertex_header*)verts,
                       vert_info->stride,
-                      vert_info->count);
+                      count);
    }
 
    draw->pipeline.verts = NULL;