From 2428786d64c3bf3a352f7e304b66e052bea114e4 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 9 Jun 2021 17:28:30 -0400 Subject: [PATCH] zink: fix typo that's definitely not at all embarrassing or anything like that and also adjust some formatting to pad out the diff and really make sure nobody notices that anything was ever amiss here Fixes: 787412b7eb8 ("zink: break out region overlap testing function into helper") Reviewed-by: Erik Faye-Lund Reviewed-by: Alyssa Rosenzweig Reviewed-by: Joshua Ashton Part-of: --- src/gallium/drivers/zink/zink_blit.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/zink/zink_blit.c b/src/gallium/drivers/zink/zink_blit.c index 9de8e566f00..d565a4c9b87 100644 --- a/src/gallium/drivers/zink/zink_blit.c +++ b/src/gallium/drivers/zink/zink_blit.c @@ -350,12 +350,12 @@ zink_blit_region_fills(struct u_rect region, unsigned width, unsigned height) /* is this even a thing? */ return false; - u_rect_find_intersection(®ion, &intersect); - if (intersect.x0 != 0 || intersect.y0 != 0 || - intersect.x1 != width || intersect.y1 != height) - return false; + u_rect_find_intersection(®ion, &intersect); + if (intersect.x0 != 0 || intersect.y0 != 0 || + intersect.x1 != width || intersect.y1 != height) + return false; - return false; + return true; } bool