summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2010-06-15 09:11:10 -0400
committerZack Rusin <zackr@vmware.com>2010-06-15 09:12:20 -0400
commitbf577393c7334ed8e11584984138285ae0faac93 (patch)
tree73599a10762cf0ca3aa519826ca3528934dace16 /src/gallium
parent9cf5e814b943d38750cdc6d27a9e25856454c853 (diff)
draw: run the pipeline with the correct number of verts
verts per primitive, not total count
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe.c b/src/gallium/auxiliary/draw/draw_pipe.c
index 5cc2a7521a..83556f10a8 100644
--- a/src/gallium/auxiliary/draw/draw_pipe.c
+++ b/src/gallium/auxiliary/draw/draw_pipe.c
@@ -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;