diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-12-19 04:17:43 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-12-20 17:42:55 +0100 |
commit | ec51092a72e2dff1e9b1362d813fe4691cda89b7 (patch) | |
tree | fbb984caeeae210ef08549577a486c7d997d956e /src/gallium/drivers/r300/r300_render_translate.c | |
parent | c451aade889c3c0733fabab691f2a33643e8a054 (diff) | |
download | external_mesa3d-ec51092a72e2dff1e9b1362d813fe4691cda89b7.zip external_mesa3d-ec51092a72e2dff1e9b1362d813fe4691cda89b7.tar.gz external_mesa3d-ec51092a72e2dff1e9b1362d813fe4691cda89b7.tar.bz2 |
gallium: remove unused 'buf' parameter in pipe_buffer_unmap
Diffstat (limited to 'src/gallium/drivers/r300/r300_render_translate.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_render_translate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_render_translate.c b/src/gallium/drivers/r300/r300_render_translate.c index 90b2f40..26e00a2 100644 --- a/src/gallium/drivers/r300/r300_render_translate.c +++ b/src/gallium/drivers/r300/r300_render_translate.c @@ -128,12 +128,11 @@ void r300_begin_vertex_translate(struct r300_context *r300) /* Unmap all buffers. */ for (i = 0; i < r300->vertex_buffer_count; i++) { if (vb_translated[i]) { - pipe_buffer_unmap(pipe, r300->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++) { |