From bf577393c7334ed8e11584984138285ae0faac93 Mon Sep 17 00:00:00 2001 From: Zack Rusin Date: Tue, 15 Jun 2010 09:11:10 -0400 Subject: draw: run the pipeline with the correct number of verts verts per primitive, not total count --- src/gallium/auxiliary/draw/draw_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary') 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; -- cgit v1.2.3