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/svga | |
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/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_draw_elements.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_pipe_draw.c | 4 |
2 files changed, 2 insertions, 6 deletions
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; |