mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
[client] egl: clear stale damage diagnostics
This commit is contained in:
@@ -168,9 +168,9 @@ bool egl_damageRender(EGL_Damage * damage, LG_RendererRotate rotate, const struc
|
||||
damage->referenceWhiteLevel);
|
||||
egl_shaderUse(damage->shader);
|
||||
|
||||
if (data && data->count != 0)
|
||||
egl_desktopRectsUpdate(damage->mesh, data->rects, data->count,
|
||||
damage->width, damage->height);
|
||||
egl_desktopRectsUpdate(damage->mesh,
|
||||
data ? data->rects : NULL, data ? data->count : 0,
|
||||
damage->width, damage->height);
|
||||
|
||||
egl_desktopRectsRender(damage->mesh);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user