mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-24 22:37:19 +00:00
[common] rects: fix damage regression introduced in the cosmetics patch
This commit is contained in:
parent
67ea8e06ba
commit
68a9504366
@ -256,7 +256,7 @@ int rectsMergeOverlapping(FrameDamageRect * rects, int count)
|
||||
|
||||
for (int j = i + 1; j < count; ++j)
|
||||
{
|
||||
if (removed[j] || !rectIntersects(rects + i, rects + j))
|
||||
if (!(!removed[j] && rectIntersects(rects + i, rects + j)))
|
||||
continue;
|
||||
|
||||
rects[i].x = min(rects[i].x, rects[j].x);
|
||||
|
Loading…
Reference in New Issue
Block a user