mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-05 12:15:46 +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
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ int rectsMergeOverlapping(FrameDamageRect * rects, int count)
|
||||||
|
|
||||||
for (int j = i + 1; j < count; ++j)
|
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;
|
continue;
|
||||||
|
|
||||||
rects[i].x = min(rects[i].x, rects[j].x);
|
rects[i].x = min(rects[i].x, rects[j].x);
|
||||||
|
|
Loading…
Reference in a new issue