mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
gallium/util: drop unused rect_area
Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>
This commit is contained in:
parent
4abb08ac60
commit
7995050462
1 changed files with 0 additions and 7 deletions
|
|
@ -72,13 +72,6 @@ u_rect_find_intersection(const struct u_rect *a,
|
|||
if (b->y1 > a->y1) b->y1 = a->y1;
|
||||
}
|
||||
|
||||
|
||||
static inline int
|
||||
u_rect_area(const struct u_rect *r)
|
||||
{
|
||||
return (r->x1 - r->x0) * (r->y1 - r->y0);
|
||||
}
|
||||
|
||||
static inline void
|
||||
u_rect_possible_intersection(const struct u_rect *a,
|
||||
struct u_rect *b)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue