mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[client] renderers: treat -1 as full damage and 0 as no overlay
This makes everything consistent.
This commit is contained in:
@@ -85,8 +85,8 @@ void app_registerOverlay(const struct LG_OverlayOps * ops, void * params);
|
||||
/**
|
||||
* render the overlay
|
||||
* returns:
|
||||
* -1 for no overlay
|
||||
* 0 for full output damage
|
||||
* -1 for full output damage
|
||||
* 0 for no overlay
|
||||
* >0 number of rects written into rects
|
||||
*/
|
||||
int app_renderOverlay(struct Rect * rects, int maxRects);
|
||||
|
Reference in New Issue
Block a user