summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/auxiliary/util/u_transfer_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/auxiliary/util/u_transfer_helper.c')
-rw-r--r--lib/mesa/src/gallium/auxiliary/util/u_transfer_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/src/gallium/auxiliary/util/u_transfer_helper.c b/lib/mesa/src/gallium/auxiliary/util/u_transfer_helper.c
index 47898e0bd..d1e8d123a 100644
--- a/lib/mesa/src/gallium/auxiliary/util/u_transfer_helper.c
+++ b/lib/mesa/src/gallium/auxiliary/util/u_transfer_helper.c
@@ -213,7 +213,7 @@ transfer_map_msaa(struct pipe_context *pctx,
map_box.x = 0;
map_box.y = 0;
- void *ss_map = pctx->transfer_map(pctx, trans->ss, 0, usage, &map_box,
+ void *ss_map = pctx->texture_map(pctx, trans->ss, 0, usage, &map_box,
&trans->trans);
if (!ss_map) {
free(trans);
@@ -505,7 +505,7 @@ u_transfer_helper_transfer_unmap(struct pipe_context *pctx,
* so don't call helper->vtbl->transfer_unmap() directly
*/
if (trans->ss) {
- pctx->transfer_unmap(pctx, trans->trans);
+ pctx->texture_unmap(pctx, trans->trans);
pipe_resource_reference(&trans->ss, NULL);
} else {
helper->vtbl->transfer_unmap(pctx, trans->trans);