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/r300 | |
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/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_render_translate.c | 7 | ||||
-rw-r--r-- | src/gallium/drivers/r300/r300_screen_buffer.c | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/gallium/drivers/r300/r300_render_translate.c b/src/gallium/drivers/r300/r300_render_translate.c index f8c7558f4b4..c2eb3c547f4 100644 --- a/src/gallium/drivers/r300/r300_render_translate.c +++ b/src/gallium/drivers/r300/r300_render_translate.c @@ -33,12 +33,11 @@ void r300_translate_index_buffer(struct r300_context *r300, struct pipe_resource *out_buffer = NULL; unsigned out_offset; void *ptr; - boolean flushed; switch (*index_size) { case 1: u_upload_alloc(r300->vbuf_mgr->uploader, 0, count * 2, - &out_offset, &out_buffer, &flushed, &ptr); + &out_offset, &out_buffer, &ptr); util_shorten_ubyte_elts_to_userptr( &r300->context, *index_buffer, index_offset, @@ -53,7 +52,7 @@ void r300_translate_index_buffer(struct r300_context *r300, case 2: if (index_offset) { u_upload_alloc(r300->vbuf_mgr->uploader, 0, count * 2, - &out_offset, &out_buffer, &flushed, &ptr); + &out_offset, &out_buffer, &ptr); util_rebuild_ushort_elts_to_userptr(&r300->context, *index_buffer, index_offset, *start, @@ -68,7 +67,7 @@ void r300_translate_index_buffer(struct r300_context *r300, case 4: if (index_offset) { u_upload_alloc(r300->vbuf_mgr->uploader, 0, count * 4, - &out_offset, &out_buffer, &flushed, &ptr); + &out_offset, &out_buffer, &ptr); util_rebuild_uint_elts_to_userptr(&r300->context, *index_buffer, index_offset, *start, diff --git a/src/gallium/drivers/r300/r300_screen_buffer.c b/src/gallium/drivers/r300/r300_screen_buffer.c index 2e9e7d7f408..9d8ce62a6d2 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.c +++ b/src/gallium/drivers/r300/r300_screen_buffer.c @@ -38,7 +38,6 @@ void r300_upload_index_buffer(struct r300_context *r300, unsigned count, uint8_t *ptr) { unsigned index_offset; - boolean flushed; *index_buffer = NULL; @@ -46,7 +45,7 @@ void r300_upload_index_buffer(struct r300_context *r300, 0, count * index_size, ptr + (*start * index_size), &index_offset, - index_buffer, &flushed); + index_buffer); *start = index_offset / index_size; } |