Mesa (master): draw: run the pipeline with the correct number of verts
Zack Rusin
zack at kemper.freedesktop.org
Tue Jun 15 13:12:30 UTC 2010
Module: Mesa
Branch: master
Commit: bf577393c7334ed8e11584984138285ae0faac93
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf577393c7334ed8e11584984138285ae0faac93
Author: Zack Rusin <zackr at vmware.com>
Date: Tue Jun 15 09:11:10 2010 -0400
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 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 5cc2a75..83556f1 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;
More information about the mesa-commit
mailing list