diff options
author | Chia-I Wu <[email protected]> | 2010-07-18 16:53:57 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-08-16 20:46:27 +0800 |
commit | 9d2be38fad109d9a10942fddde0b9dc3824c329c (patch) | |
tree | 2c1cac6cdc8095fa1c2bff7051c0c2795335b74e /src/gallium/auxiliary/draw/draw_pt.c | |
parent | f132498347c41294042db0cc6830abe928d827de (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.c | 6 |
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 248927505da..ded94bb575c 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 ); |