From 82e0a38eede3e628b6012900cbb8efce193370fd Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 21 Dec 2010 06:41:09 +1000 Subject: [PATCH] nvc0: remove unused 'buf' parameter in pipe_buffer_unmap --- src/gallium/drivers/nvc0/nvc0_push.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nvc0/nvc0_push.c b/src/gallium/drivers/nvc0/nvc0_push.c index 5116929b50d..4bf259c6469 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); -- 2.30.2