diff options
author | Keith Whitwell <[email protected]> | 2009-12-21 22:47:21 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-12-21 22:55:40 +0000 |
commit | 03f212b0d85fed5dec9a855fb6d079e5fdb60ac9 (patch) | |
tree | 8f00e64e41fd34dd64c6d5ec6713b80f5b619312 /src/gallium/drivers/nv10/nv10_vbo.c | |
parent | 09e785ee04c80c2bdf27245be7dafc79cce5b0ad (diff) |
gallium: propogate draw retval changes into more drivers
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_vbo.c')
-rw-r--r-- | src/gallium/drivers/nv10/nv10_vbo.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gallium/drivers/nv10/nv10_vbo.c b/src/gallium/drivers/nv10/nv10_vbo.c index 441a4f75f3f..230f2e6d39e 100644 --- a/src/gallium/drivers/nv10/nv10_vbo.c +++ b/src/gallium/drivers/nv10/nv10_vbo.c @@ -9,7 +9,7 @@ #include "nouveau/nouveau_channel.h" #include "nouveau/nouveau_pushbuf.h" -boolean nv10_draw_elements( struct pipe_context *pipe, +void nv10_draw_elements( struct pipe_context *pipe, struct pipe_buffer *indexBuffer, unsigned indexSize, unsigned prim, unsigned start, unsigned count) @@ -64,14 +64,12 @@ boolean nv10_draw_elements( struct pipe_context *pipe, pipe_buffer_unmap(pscreen, indexBuffer); draw_set_mapped_element_buffer(draw, 0, NULL); } - - return TRUE; } -boolean nv10_draw_arrays( struct pipe_context *pipe, - unsigned prim, unsigned start, unsigned count) +void nv10_draw_arrays( struct pipe_context *pipe, + unsigned prim, unsigned start, unsigned count) { - return nv10_draw_elements(pipe, NULL, 0, prim, start, count); + nv10_draw_elements(pipe, NULL, 0, prim, start, count); } |