diff --git a/include/render/color.h b/include/render/color.h index 111adb271..3a672eff1 100644 --- a/include/render/color.h +++ b/include/render/color.h @@ -87,12 +87,6 @@ struct wlr_color_transform_inverse_eotf *wlr_color_transform_inverse_eotf_from_b struct wlr_color_transform_lut_3x1d *color_transform_lut_3x1d_from_base( struct wlr_color_transform *tr); -/** - * Obtain primaries values from a well-known primaries name. - */ -void wlr_color_primaries_from_named(struct wlr_color_primaries *out, - enum wlr_color_named_primaries named); - /** * Compute the matrix to convert RGB color values to CIE 1931 XYZ. */ diff --git a/include/wlr/render/color.h b/include/wlr/render/color.h index 9d9363b0f..31d2c85e9 100644 --- a/include/wlr/render/color.h +++ b/include/wlr/render/color.h @@ -171,6 +171,12 @@ void wlr_color_transform_unref(struct wlr_color_transform *tr); void wlr_color_transform_eval(struct wlr_color_transform *tr, float out[static 3], const float in[static 3]); +/** + * Obtain primaries values from a well-known primaries name. + */ +void wlr_color_primaries_from_named(struct wlr_color_primaries *out, + enum wlr_color_named_primaries named); + /** * Compute the matrix to convert between two linear RGB color spaces */