summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-07-18 16:53:57 +0800
committerChia-I Wu <[email protected]>2010-08-16 20:46:27 +0800
commit9d2be38fad109d9a10942fddde0b9dc3824c329c (patch)
tree2c1cac6cdc8095fa1c2bff7051c0c2795335b74e /src/gallium/auxiliary/draw/draw_pt.h
parentf132498347c41294042db0cc6830abe928d827de (diff)
draw: Simplify frontend interface a little.
The run method is simplified to take the start vertex and the vertex count.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.h b/src/gallium/auxiliary/draw/draw_pt.h
index 8d69b8c8c8d..42c4f83272d 100644
--- a/src/gallium/auxiliary/draw/draw_pt.h
+++ b/src/gallium/auxiliary/draw/draw_pt.h
@@ -67,9 +67,7 @@ struct draw_pt_front_end {
unsigned opt );
void (*run)( struct draw_pt_front_end *,
- pt_elt_func elt_func,
- const void *elt_ptr,
- int elt_bias,
+ unsigned start,
unsigned count );
void (*finish)( struct draw_pt_front_end * );