diff options
author | Keith Whitwell <[email protected]> | 2010-01-07 11:19:38 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-01-07 15:37:41 +0000 |
commit | 150108024daec6dfc44a28e6809fbb2a19cb2e1a (patch) | |
tree | 2db3292efee7d78782bb0e27b494458be7435198 | |
parent | 7bd7e2da75bfee90037dcb34e55c5a338a952c1a (diff) |
i965g: updates for draw retval
-rw-r--r-- | src/gallium/drivers/i965/brw_draw.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/gallium/drivers/i965/brw_draw.c b/src/gallium/drivers/i965/brw_draw.c index 852fd229828..ea8d39adaf0 100644 --- a/src/gallium/drivers/i965/brw_draw.c +++ b/src/gallium/drivers/i965/brw_draw.c @@ -176,7 +176,7 @@ try_draw_range_elements(struct brw_context *brw, } -static boolean +static void brw_draw_range_elements(struct pipe_context *pipe, struct pipe_buffer *index_buffer, unsigned index_size, @@ -228,29 +228,27 @@ brw_draw_range_elements(struct pipe_context *pipe, ret = try_draw_range_elements(brw, index_buffer, hw_prim, start, count ); assert(ret == 0); } - - return TRUE; } -static boolean +static void brw_draw_elements(struct pipe_context *pipe, struct pipe_buffer *index_buffer, unsigned index_size, unsigned mode, unsigned start, unsigned count) { - return brw_draw_range_elements( pipe, index_buffer, - index_size, - 0, 0xffffffff, - mode, - start, count ); + brw_draw_range_elements( pipe, index_buffer, + index_size, + 0, 0xffffffff, + mode, + start, count ); } -static boolean +static void brw_draw_arrays(struct pipe_context *pipe, unsigned mode, unsigned start, unsigned count) { - return brw_draw_elements(pipe, NULL, 0, mode, start, count); + brw_draw_elements(pipe, NULL, 0, mode, start, count); } |