scene: always apply user gamma after scene color transform

Fixes 989cffe, making renderer-applied transform consistent with
hardware-applied transform
This commit is contained in:
Félix Poisot 2025-11-21 17:12:25 +00:00 committed by Simon Ser
parent 2cac711e55
commit fdb473e675

View file

@ -2171,8 +2171,8 @@ static struct wlr_color_transform *scene_output_combine_color_transforms(
combined = wlr_color_transform_ref(gamma_lut);
} else {
struct wlr_color_transform *transforms[] = {
gamma_lut,
supplied,
gamma_lut,
};
size_t transforms_len = sizeof(transforms) / sizeof(transforms[0]);
combined = wlr_color_transform_init_pipeline(transforms, transforms_len);