summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index 005bb2e54db..3454c3e8e80 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -1381,7 +1381,7 @@ copy_image_data_to_texture(struct st_context *st,
st_texture_image_data(st->pipe,
stObj->pt,
stImage->face,
- stImage->level,
+ dstLevel,
stImage->base.Data,
stImage->base.RowStride,
stImage->base.RowStride *