[client] util: replace util_mergeOverlappingRects with common version

This commit is contained in:
Quantum
2021-08-11 02:42:31 -04:00
committed by Geoffrey McRae
parent 604b44d6d8
commit 7e982a6658
3 changed files with 2 additions and 44 deletions

View File

@@ -24,6 +24,7 @@
#include "common/KVMFR.h"
#include "common/option.h"
#include "common/sysinfo.h"
#include "common/rects.h"
#include "common/time.h"
#include "common/locking.h"
#include "app.h"
@@ -955,7 +956,7 @@ static bool egl_render(LG_Renderer * renderer, LG_RendererRotate rotate,
);
}
accumulated->count = util_mergeOverlappingRects(accumulated->rects, accumulated->count);
accumulated->count = rectsMergeOverlapping(accumulated->rects, accumulated->count);
}
++this->overlayHistoryIdx;