Module: Mesa Branch: master Commit: c7e37a0cb8d46cde4e6ea1c7bb0d8e517995c726 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7e37a0cb8d46cde4e6ea1c7bb0d8e517995c726
Author: Anuj Phogat <[email protected]> Date: Tue Jan 10 14:03:58 2017 -0800 i965: Fix indentation in brw_miptree_layout_2d() Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Alejandro PiƱeiro <[email protected]> --- 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; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
