diff options
author | Marek Olšák <[email protected]> | 2010-12-19 04:17:43 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-12-20 17:42:55 +0100 |
commit | ec51092a72e2dff1e9b1362d813fe4691cda89b7 (patch) | |
tree | fbb984caeeae210ef08549577a486c7d997d956e /src/gallium/drivers/r600 | |
parent | c451aade889c3c0733fabab691f2a33643e8a054 (diff) |
gallium: remove unused 'buf' parameter in pipe_buffer_unmap
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_translate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_translate.c b/src/gallium/drivers/r600/r600_translate.c index ba12eee2b56..f80fa7af941 100644 --- a/src/gallium/drivers/r600/r600_translate.c +++ b/src/gallium/drivers/r600/r600_translate.c @@ -125,12 +125,11 @@ void r600_begin_vertex_translate(struct r600_pipe_context *rctx) /* Unmap all buffers. */ for (i = 0; i < rctx->nvertex_buffer; i++) { if (vb_translated[i]) { - pipe_buffer_unmap(pipe, rctx->vertex_buffer[i].buffer, - vb_transfer[i]); + pipe_buffer_unmap(pipe, vb_transfer[i]); } } - pipe_buffer_unmap(pipe, out_buffer, out_transfer); + pipe_buffer_unmap(pipe, out_transfer); /* Setup the new vertex buffer in the first free slot. */ for (i = 0; i < PIPE_MAX_ATTRIBS; i++) { |