backends/native: Replace MetaKmsCrtcGamma with MetaGammaLut
They are the same type now so there is no reason to keep both of them around. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2861>
This commit is contained in:

committed by
Marge Bot

parent
8ccbc21d23
commit
e9786452c6
@ -513,12 +513,12 @@ process_crtc_color_updates (MetaKmsImplDevice *impl_device,
|
||||
|
||||
if (color_update->gamma.has_update)
|
||||
{
|
||||
MetaKmsCrtcGamma *gamma = color_update->gamma.state;
|
||||
MetaGammaLut *gamma = color_update->gamma.state;
|
||||
int fd;
|
||||
int ret;
|
||||
|
||||
meta_topic (META_DEBUG_KMS,
|
||||
"[simple] Setting CRTC %u (%s) gamma, size: %d",
|
||||
"[simple] Setting CRTC %u (%s) gamma, size: %zu",
|
||||
meta_kms_crtc_get_id (crtc),
|
||||
meta_kms_impl_device_get_path (impl_device),
|
||||
gamma->size);
|
||||
|
Reference in New Issue
Block a user