mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[common] rects: fix typo in rectContains
This commit is contained in:
parent
9bd205a527
commit
164dd00490
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user