From: Roland Scheidegger Date: Mon, 21 May 2007 09:38:25 +0000 (+0200) Subject: unbreak 3d textures (typo when setting tex layout) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1c640deda326078b1b2b335646f32b52120be3c;p=mesa.git unbreak 3d textures (typo when setting tex layout) --- diff --git a/src/mesa/drivers/dri/i915tex/i915_tex_layout.c b/src/mesa/drivers/dri/i915tex/i915_tex_layout.c index 9f40706c36a..7b761a7b221 100644 --- a/src/mesa/drivers/dri/i915tex/i915_tex_layout.c +++ b/src/mesa/drivers/dri/i915tex/i915_tex_layout.c @@ -113,7 +113,7 @@ i915_miptree_layout(struct intel_mipmap_tree * mt) */ for (level = mt->first_level; level <= MAX2(8, mt->last_level); level++) { - intel_miptree_set_level_info(mt, level, 1, 0, mt->total_height, + intel_miptree_set_level_info(mt, level, depth, 0, mt->total_height, width, height, depth);