i965: Fix indentation in brw_miptree_layout_2d()
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 10 Jan 2017 22:03:58 +0000 (14:03 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 19 Jan 2017 22:28:18 +0000 (14:28 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/mesa/drivers/dri/i965/brw_tex_layout.c

index bf8c3386f0a660a724f18276e834770c3dc2bb03..2f4837e825ed7ae17818bbb4a4ad1a3b92b7bf58 100644 (file)
@@ -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;