mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
Revert "[common] rects: fix damage regression introduced in the cosmetics patch"
This was correct, brainfart moment
This commit is contained in:
parent
68a9504366
commit
6078b11200
@ -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