summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_pipeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_pipeline.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_pipeline.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_pipeline.c b/src/gallium/auxiliary/draw/draw_pt_pipeline.c
index 17ce6febec..1a9a3adb03 100644
--- a/src/gallium/auxiliary/draw/draw_pt_pipeline.c
+++ b/src/gallium/auxiliary/draw/draw_pt_pipeline.c
@@ -117,12 +117,13 @@ void draw_pt_reset_vertex_ids( struct draw_context *draw )
*/
void draw_pt_run_pipeline( struct draw_context *draw,
unsigned prim,
- char *verts,
- unsigned stride,
+ struct vertex_header *pipeline_verts,
unsigned vertex_count,
+ unsigned stride,
const ushort *elts,
unsigned count )
{
+ char *verts = (char *)pipeline_verts;
unsigned i;
draw->pt.pipeline.verts = verts;