nvc0: remove unused 'buf' parameter in pipe_buffer_unmap
authorBen Skeggs <bskeggs@redhat.com>
Mon, 20 Dec 2010 20:41:09 +0000 (06:41 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 20 Dec 2010 20:41:09 +0000 (06:41 +1000)
src/gallium/drivers/nvc0/nvc0_push.c

index 5116929b50d7c0ef80909406f699f1332ad735ce..4bf259c64696dc8fa0707413d0da55d2e09ff26a 100644 (file)
@@ -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);