summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_index_modify.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-12-21 06:30:39 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-12-21 06:30:39 +1000
commite52ebd6e8587e2e37ed65ad9fc9035c2bd00b563 (patch)
tree8dc271c2fdc6ceda6b329762d234c88e0fdffe2e /src/gallium/auxiliary/util/u_index_modify.c
parent9f2cf899578464a7448d7abec681bde42eb3d2f2 (diff)
parent5c102dd94f435e97507213fbd128e50dd15f5f54 (diff)
Merge remote branch 'origin/master' into nvc0-new
Conflicts: src/gallium/drivers/nouveau/nouveau_winsys.h
Diffstat (limited to 'src/gallium/auxiliary/util/u_index_modify.c')
-rw-r--r--src/gallium/auxiliary/util/u_index_modify.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/util/u_index_modify.c b/src/gallium/auxiliary/util/u_index_modify.c
index 65b079ed53..3822f60e71 100644
--- a/src/gallium/auxiliary/util/u_index_modify.c
+++ b/src/gallium/auxiliary/util/u_index_modify.c
@@ -52,8 +52,8 @@ void util_shorten_ubyte_elts(struct pipe_context *context,
out_map++;
}
- pipe_buffer_unmap(context, *elts, src_transfer);
- pipe_buffer_unmap(context, new_elts, dst_transfer);
+ pipe_buffer_unmap(context, src_transfer);
+ pipe_buffer_unmap(context, dst_transfer);
*elts = new_elts;
}
@@ -86,8 +86,8 @@ void util_rebuild_ushort_elts(struct pipe_context *context,
out_map++;
}
- pipe_buffer_unmap(context, *elts, in_transfer);
- pipe_buffer_unmap(context, new_elts, out_transfer);
+ pipe_buffer_unmap(context, in_transfer);
+ pipe_buffer_unmap(context, out_transfer);
*elts = new_elts;
}
@@ -120,8 +120,8 @@ void util_rebuild_uint_elts(struct pipe_context *context,
out_map++;
}
- pipe_buffer_unmap(context, *elts, in_transfer);
- pipe_buffer_unmap(context, new_elts, out_transfer);
+ pipe_buffer_unmap(context, in_transfer);
+ pipe_buffer_unmap(context, out_transfer);
*elts = new_elts;
}