From: Brian Paul Date: Mon, 28 Apr 2008 20:04:19 +0000 (-0600) Subject: gallium: fix incorrect level param in copy_image_data_to_texture() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2497879f127251994064a0e0c24901782adae9e;p=mesa.git 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. --- 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 *