diff options
author | Keith Whitwell <[email protected]> | 2010-01-05 14:13:40 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-01-05 14:13:40 +0000 |
commit | c727fa6dbf5a9fca5fc94de06c309f54402449d1 (patch) | |
tree | d6e721f1dff0ccaf3666756c80a80e7c6d3dec32 /src/gallium/drivers/nv20/nv20_vbo.c | |
parent | c91ceeec320daebe7d9d78ed2d80a2265bcfa8c2 (diff) | |
parent | e3be32ccf900f22c1f75c9f2d8842fe9630da7d9 (diff) |
Merge commit 'origin/gallium-draw-retval'
Conflicts:
src/gallium/drivers/identity/id_context.c
Diffstat (limited to 'src/gallium/drivers/nv20/nv20_vbo.c')
-rw-r--r-- | src/gallium/drivers/nv20/nv20_vbo.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/nv20/nv20_vbo.c b/src/gallium/drivers/nv20/nv20_vbo.c index 4bf461eba92..52991a0d856 100644 --- a/src/gallium/drivers/nv20/nv20_vbo.c +++ b/src/gallium/drivers/nv20/nv20_vbo.c @@ -9,7 +9,7 @@ #include "nouveau/nouveau_channel.h" #include "nouveau/nouveau_pushbuf.h" -boolean nv20_draw_elements( struct pipe_context *pipe, +void nv20_draw_elements( struct pipe_context *pipe, struct pipe_buffer *indexBuffer, unsigned indexSize, unsigned prim, unsigned start, unsigned count) @@ -67,13 +67,12 @@ boolean nv20_draw_elements( struct pipe_context *pipe, } draw_flush(nv20->draw); - return TRUE; } -boolean nv20_draw_arrays( struct pipe_context *pipe, +void nv20_draw_arrays( struct pipe_context *pipe, unsigned prim, unsigned start, unsigned count) { - return nv20_draw_elements(pipe, NULL, 0, prim, start, count); + nv20_draw_elements(pipe, NULL, 0, prim, start, count); } |