render/color: return tranform in wlr_color_transform_ref()

This is more consistent with the rest of the wlroots APIs and is
more concise.
This commit is contained in:
Simon Ser 2024-08-24 11:07:58 +02:00
parent a5aae69b2a
commit fa2abbeefb
3 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@ struct wlr_color_transform *wlr_color_transform_init_srgb(void);
/**
* Increase the reference count of the color transform by 1.
*/
void wlr_color_transform_ref(struct wlr_color_transform *tr);
struct wlr_color_transform *wlr_color_transform_ref(struct wlr_color_transform *tr);
/**
* Reduce the reference count of the color transform by 1; freeing it and