From c7e37a0cb8d46cde4e6ea1c7bb0d8e517995c726 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Tue, 10 Jan 2017 14:03:58 -0800 Subject: i965: Fix indentation in brw_miptree_layout_2d() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Anuj Phogat Reviewed-by: Alejandro PiƱeiro --- src/mesa/drivers/dri/i965/brw_tex_layout.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mesa') 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; -- cgit v1.2.3