summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-28 14:04:19 -0600
committerBrian Paul <[email protected]>2008-04-28 14:04:56 -0600
commitc2497879f127251994064a0e0c24901782adae9e (patch)
tree74c3535b23a2aa506ada5e686ef41f5f5f9c15fb /src
parentc4917c62311522df902003d77b146fc677c09a4e (diff)
gallium: fix incorrect level param in copy_image_data_to_texture()
This fixes a weird conform test failure that depended on something that happened several tests earlier. This took waaaaaay too long to find/fix.
Diffstat (limited to 'src')
-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 *