From 124fc96ddf2695b4eca1a9b373f33cb993de9f6a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 28 Sep 2011 10:37:22 -0600 Subject: [PATCH] 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. --- src/mesa/state_tracker/st_cb_texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0