summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/ilo/ilo_blitter_rectlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c
index 3cb17e0f37a..f80dc5ddd2d 100644
--- a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c
+++ b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c
@@ -290,7 +290,7 @@ hiz_align_fb(struct ilo_blitter *blitter)
if (blitter->fb.width % align_w || blitter->fb.height % align_h) {
blitter->fb.width = align(blitter->fb.width, align_w);
- blitter->fb.height = align(blitter->fb.width, align_h);
+ blitter->fb.height = align(blitter->fb.height, align_h);
assert(!blitter->fb.dst.is_rt);
zs_align_surface(blitter->ilo->dev, align_w, align_h,