mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-25 18:40:04 +01:00
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:
parent
2cac711e55
commit
fdb473e675
1 changed files with 1 additions and 1 deletions
|
|
@ -2171,8 +2171,8 @@ static struct wlr_color_transform *scene_output_combine_color_transforms(
|
||||||
combined = wlr_color_transform_ref(gamma_lut);
|
combined = wlr_color_transform_ref(gamma_lut);
|
||||||
} else {
|
} else {
|
||||||
struct wlr_color_transform *transforms[] = {
|
struct wlr_color_transform *transforms[] = {
|
||||||
gamma_lut,
|
|
||||||
supplied,
|
supplied,
|
||||||
|
gamma_lut,
|
||||||
};
|
};
|
||||||
size_t transforms_len = sizeof(transforms) / sizeof(transforms[0]);
|
size_t transforms_len = sizeof(transforms) / sizeof(transforms[0]);
|
||||||
combined = wlr_color_transform_init_pipeline(transforms, transforms_len);
|
combined = wlr_color_transform_init_pipeline(transforms, transforms_len);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue