From: Zack Rusin Date: Tue, 15 Jun 2010 13:11:10 +0000 (-0400) Subject: draw: run the pipeline with the correct number of verts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf577393c7334ed8e11584984138285ae0faac93;p=mesa.git draw: run the pipeline with the correct number of verts verts per primitive, not total count --- diff --git a/src/gallium/auxiliary/draw/draw_pipe.c b/src/gallium/auxiliary/draw/draw_pipe.c index 5cc2a7521a8..83556f10a8b 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;