summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_transfer.c')
-rw-r--r--src/gallium/auxiliary/util/u_transfer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_transfer.c b/src/gallium/auxiliary/util/u_transfer.c
index 3089bcb1f3..0e0c4cc91c 100644
--- a/src/gallium/auxiliary/util/u_transfer.c
+++ b/src/gallium/auxiliary/util/u_transfer.c
@@ -27,7 +27,7 @@ void u_default_buffer_subdata(struct pipe_context *pipe,
u_box_1d(offset, size, &box);
- map = pipe->transfer_map(pipe, resource, 0, usage, &box, &transfer);
+ map = pipe_transfer_map_box(pipe, resource, 0, usage, &box, &transfer);
if (!map)
return;
@@ -56,7 +56,7 @@ void u_default_texture_subdata(struct pipe_context *pipe,
/* texture_subdata implicitly discards the rewritten buffer range */
usage |= PIPE_TRANSFER_DISCARD_RANGE;
- map = pipe->transfer_map(pipe,
+ map = pipe_transfer_map_box(pipe,
resource,
level,
usage,