mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-04 06:12:04 +00:00
[client] egl: stop aliasing damage tracking layouts
Pass damage rectangle arrays and counts explicitly to the EGL mesh updater instead of casting DesktopDamage to DamageRects.
This commit is contained in:
@@ -906,13 +906,15 @@ bool egl_postProcessRun(EGL_PostProcess * this, EGL_Texture * tex,
|
||||
}
|
||||
|
||||
rects = this->rects;
|
||||
egl_desktopRectsUpdate(rects, NULL, desktopWidth, desktopHeight);
|
||||
egl_desktopRectsUpdate(
|
||||
rects, NULL, -1, desktopWidth, desktopHeight);
|
||||
}
|
||||
|
||||
if (this->config.fullFrame)
|
||||
{
|
||||
rects = this->rects;
|
||||
egl_desktopRectsUpdate(rects, NULL, desktopWidth, desktopHeight);
|
||||
egl_desktopRectsUpdate(
|
||||
rects, NULL, -1, desktopWidth, desktopHeight);
|
||||
}
|
||||
|
||||
EGL_FilterRects filterRects = {
|
||||
|
||||
Reference in New Issue
Block a user