[common] rects: fix typo in rectContains

This commit is contained in:
Quantum 2021-08-20 03:11:57 -04:00 committed by Geoffrey McRae
parent 9bd205a527
commit 164dd00490

View File

@ -248,7 +248,7 @@ inline static bool rectContains(const FrameDamageRect * r1, const FrameDamageRec
return r1->x <= r2->x &&
r1->y <= r2->y &&
r1->x + r1->width >= r2->x + r2->width &&
r1->y + r1->height >= r2->x + r2->height;
r1->y + r1->height >= r2->y + r2->height;
}
int rectsRejectContained(FrameDamageRect * rects, int count)