mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] renderers: treat -1 as full damage and 0 as no overlay
This makes everything consistent.
This commit is contained in:
@@ -662,7 +662,7 @@ int app_renderOverlay(struct Rect * rects, int maxRects)
|
||||
const int written =
|
||||
overlay->ops->render(overlay->udata, false, rects, maxRects);
|
||||
|
||||
if (!totalDamage)
|
||||
if (totalDamage)
|
||||
continue;
|
||||
|
||||
if (written == -1)
|
||||
|
Reference in New Issue
Block a user