e3b6d04017
To me, the use of setup_search_param() makes the code harder to understand than it needs to be. Replacing that function with open-coding the struct cmlcms_color_transform_search_param initialization makes it more clear that: - get_surface_color_transform is the only one that actually uses a surface to initialize it - get_blend_to_output does not use an input profile at all - get_sRGB_to_output and get_sRGB_to_blend hardcode the sRGB profile like they should Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>