summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2017-01-10 14:03:58 -0800
committerAnuj Phogat <[email protected]>2017-01-19 14:28:18 -0800
commitc7e37a0cb8d46cde4e6ea1c7bb0d8e517995c726 (patch)
treecf28816c1fe19100f523b5bf5edf0a5be1a001aa /src
parent47d9b3a9dd811ae9c4733d1b0ccdd3eedc7a1b97 (diff)
i965: Fix indentation in brw_miptree_layout_2d()
Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_tex_layout.c5
1 files 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 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;