wayland/color-management: Fix setting luminances

It was missing setting luminance type to explicit.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4108>
This commit is contained in:
Joan Torres 2024-10-18 10:15:57 +02:00
parent 24712ba3a8
commit 8f709f26e7

View File

@ -1152,6 +1152,7 @@ creator_params_set_luminance (struct wl_client *client,
return;
}
creator_params->lum.type = CLUTTER_LUMINANCE_TYPE_EXPLICIT;
creator_params->lum.min = min;
creator_params->lum.max = max;
creator_params->lum.ref = ref;