From f94d390213308d4aca1515c75acc6865ebb45796 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 1 Jan 2012 18:23:07 +0100 Subject: u_upload_mgr: remove the 'flushed' parameter Not used by anybody. Reviewed-by: Brian Paul --- src/gallium/drivers/svga/svga_draw_elements.c | 4 +--- src/gallium/drivers/svga/svga_pipe_draw.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/gallium/drivers/svga') diff --git a/src/gallium/drivers/svga/svga_draw_elements.c b/src/gallium/drivers/svga/svga_draw_elements.c index ba492412b44..1c20881a34d 100644 --- a/src/gallium/drivers/svga/svga_draw_elements.c +++ b/src/gallium/drivers/svga/svga_draw_elements.c @@ -121,7 +121,6 @@ svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl, if (index_buffer && svga_buffer_is_user_buffer(index_buffer)) { - boolean flushed; assert( index_buffer->width0 >= index_offset + count * index_size ); ret = u_upload_buffer( hwtnl->upload_ib, @@ -130,8 +129,7 @@ svga_hwtnl_simple_draw_range_elements( struct svga_hwtnl *hwtnl, count * index_size, index_buffer, &index_offset, - &upload_buffer, - &flushed ); + &upload_buffer); if (ret != PIPE_OK) goto done; diff --git a/src/gallium/drivers/svga/svga_pipe_draw.c b/src/gallium/drivers/svga/svga_pipe_draw.c index 141734b458c..c61d5d000de 100644 --- a/src/gallium/drivers/svga/svga_pipe_draw.c +++ b/src/gallium/drivers/svga/svga_pipe_draw.c @@ -138,7 +138,6 @@ svga_upload_user_buffers(struct svga_context *svga, if (vb->buffer && svga_buffer_is_user_buffer(vb->buffer)) { struct svga_buffer *buffer = svga_buffer(vb->buffer); - boolean flushed; /* * Check if already uploaded. Otherwise go ahead and upload. @@ -153,8 +152,7 @@ svga_upload_user_buffers(struct svga_context *svga, buffer->uploaded.end - buffer->uploaded.start, &buffer->b.b, &buffer->uploaded.offset, - &buffer->uploaded.buffer, - &flushed); + &buffer->uploaded.buffer); if (ret) return ret; -- cgit v1.2.3