summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2010-12-21 06:41:09 +1000
committerBen Skeggs <[email protected]>2010-12-21 06:41:09 +1000
commit82e0a38eede3e628b6012900cbb8efce193370fd (patch)
tree344d16e065d0a97604890010c763e0f0d09f781e /src/gallium
parent317a1445c85a667d84b0b4615685e3da178bc031 (diff)
nvc0: remove unused 'buf' parameter in pipe_buffer_unmap
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_push.c2
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 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);