summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_mipmap_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_mipmap_tree.c')
-rw-r--r--src/mesa/state_tracker/st_mipmap_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_mipmap_tree.c b/src/mesa/state_tracker/st_mipmap_tree.c
index 1764bc61f3f..27bbf176087 100644
--- a/src/mesa/state_tracker/st_mipmap_tree.c
+++ b/src/mesa/state_tracker/st_mipmap_tree.c
@@ -309,10 +309,10 @@ st_miptree_image_copy(struct pipe_context *pipe,
for (i = 0; i < depth; i++) {
pipe->region_copy(pipe,
dst->region, dst_offset + dst_depth_offset[i],
- 0,
- 0,
+ 0, 0, /* destX, Y */
src->region, src_offset + src_depth_offset[i],
- 0, 0, width, height);
+ 0, 0, /* srcX, Y */
+ width, height);
}
}