diff options
author | Marek Olšák <[email protected]> | 2012-01-01 18:23:07 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-01-05 18:29:11 +0100 |
commit | f94d390213308d4aca1515c75acc6865ebb45796 (patch) | |
tree | a2874e02b7d7061082c9bf919de19a63e700b586 /src/gallium/drivers/r600/r600_translate.c | |
parent | c727cc175bcbf96f12f27c46819667948d5ebbe2 (diff) |
u_upload_mgr: remove the 'flushed' parameter
Not used by anybody.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_translate.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_translate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_translate.c b/src/gallium/drivers/r600/r600_translate.c index 9159e452343..94497077cba 100644 --- a/src/gallium/drivers/r600/r600_translate.c +++ b/src/gallium/drivers/r600/r600_translate.c @@ -36,12 +36,11 @@ void r600_translate_index_buffer(struct r600_pipe_context *r600, struct pipe_resource *out_buffer = NULL; unsigned out_offset; void *ptr; - boolean flushed; switch (ib->index_size) { case 1: u_upload_alloc(r600->vbuf_mgr->uploader, 0, count * 2, - &out_offset, &out_buffer, &flushed, &ptr); + &out_offset, &out_buffer, &ptr); util_shorten_ubyte_elts_to_userptr( &r600->context, ib->buffer, 0, ib->offset, count, ptr); |