Mesa (nvc0): nvc0: remove unused 'buf' parameter in pipe_buffer_unmap

Ben Skeggs darktama at kemper.freedesktop.org
Tue Dec 21 06:43:28 UTC 2010


Module: Mesa
Branch: nvc0
Commit: 82e0a38eede3e628b6012900cbb8efce193370fd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82e0a38eede3e628b6012900cbb8efce193370fd

Author: Ben Skeggs <bskeggs at redhat.com>
Date:   Tue Dec 21 06:41:09 2010 +1000

nvc0: remove unused 'buf' parameter in pipe_buffer_unmap

---

 src/gallium/drivers/nvc0/nvc0_push.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nvc0/nvc0_push.c b/src/gallium/drivers/nvc0/nvc0_push.c
index 5116929..4bf259c 100644
--- a/src/gallium/drivers/nvc0/nvc0_push.c
+++ b/src/gallium/drivers/nvc0/nvc0_push.c
@@ -267,7 +267,7 @@ nvc0_push_vbo(struct nvc0_context *nvc0, const struct pipe_draw_info *info)
    }
 
    if (info->indexed)
-	   pipe_buffer_unmap(&nvc0->pipe, nvc0->idxbuf.buffer, transfer);
+	   pipe_buffer_unmap(&nvc0->pipe, transfer);
 
    for (i = 0; i < nvc0->num_vtxbufs; ++i) {
       struct nvc0_resource *res = nvc0_resource(nvc0->vtxbuf[i].buffer);




More information about the mesa-commit mailing list