From: Brian Paul Date: Wed, 28 Sep 2011 16:37:22 +0000 (-0600) Subject: st/mesa: substitute argument to guess_base_level_size() call X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=124fc96ddf2695b4eca1a9b373f33cb993de9f6a;p=mesa.git st/mesa: substitute argument to guess_base_level_size() call stObj->base.BaseLevel and firstImage->base.Level have the same value but the later looks more consistent in the function call. --- diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 354e58de91d..8df753f7c16 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -1707,7 +1707,7 @@ st_finalize_texture(struct gl_context *ctx, firstImage->base.Width2, firstImage->base.Height2, firstImage->base.Depth2, - stObj->base.BaseLevel, + firstImage->base.Level, &width, &height, &depth)) { width = stObj->width0; height = stObj->height0;