From: Anuj Phogat Date: Tue, 10 Jan 2017 22:03:58 +0000 (-0800) Subject: i965: Fix indentation in brw_miptree_layout_2d() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7e37a0cb8d46cde4e6ea1c7bb0d8e517995c726;p=mesa.git i965: Fix indentation in brw_miptree_layout_2d() Signed-off-by: Anuj Phogat Reviewed-by: Alejandro PiƱeiro --- diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c b/src/mesa/drivers/dri/i965/brw_tex_layout.c index bf8c3386f0a..2f4837e825e 100644 --- a/src/mesa/drivers/dri/i965/brw_tex_layout.c +++ b/src/mesa/drivers/dri/i965/brw_tex_layout.c @@ -322,9 +322,8 @@ brw_miptree_layout_2d(struct intel_mipmap_tree *mt) minify(mt->physical_width0, 2); } - if (mip1_width > mt->total_width) { - mt->total_width = mip1_width; - } + if (mip1_width > mt->total_width) + mt->total_width = mip1_width; } mt->total_width /= bw;