mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
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:787412b7eb("zink: break out region overlap testing function into helper") Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Joshua Ashton <joshua@froggi.es> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11279> (cherry picked from commit2428786d64)
This commit is contained in:
parent
97c35a1932
commit
869a319313
2 changed files with 6 additions and 6 deletions
|
|
@ -1939,7 +1939,7 @@
|
|||
"description": "zink: fix typo that's definitely not at all embarrassing or anything like that",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "787412b7eb8a25f92b62fbd9e04d48b1c5fb0023"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -344,12 +344,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue