[Mesa-dev] [PATCH 2/3] i965: Fix indentation in brw_miptree_layout_2d()
Anuj Phogat
anuj.phogat at gmail.com
Tue Jan 10 23:56:16 UTC 2017
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
src/mesa/drivers/dri/i965/brw_tex_layout.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index bf8c338..2f4837e 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;
--
2.9.3
More information about the mesa-dev
mailing list