render/color: add wlr_color_transform_init()

This commit is contained in:
Simon Ser 2025-01-28 09:57:41 +01:00 committed by Kenny Levinsen
parent c6133f9912
commit d421538b4a
3 changed files with 13 additions and 6 deletions

View file

@ -38,6 +38,9 @@ struct wlr_color_transform_lut3d {
size_t dim_len;
};
void wlr_color_transform_init(struct wlr_color_transform *tr,
enum wlr_color_transform_type type);
/**
* Gets a wlr_color_transform_lut3d from a generic wlr_color_transform.
* Asserts that the base type is COLOR_TRANSFORM_LUT_3D