summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-07-18 16:53:57 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-16 20:46:27 +0800
commit9d2be38fad109d9a10942fddde0b9dc3824c329c (patch)
tree2c1cac6cdc8095fa1c2bff7051c0c2795335b74e /src/gallium/auxiliary/draw/draw_pt.c
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.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index 248927505d..ded94bb575 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -126,11 +126,7 @@ draw_pt_arrays(struct draw_context *draw,
frontend->prepare( frontend, prim, middle, opt );
- frontend->run(frontend,
- draw_pt_elt_func(draw),
- draw_pt_elt_ptr(draw, start),
- draw->pt.user.eltBias,
- count);
+ frontend->run(frontend, start, count);
frontend->finish( frontend );