gpu-kms: Fix compilation issues from backport

The backport applied cleanly, but didn't build as function type
signatures called changed. This fixes the compilation issues.
This commit is contained in:
Jonas Ådahl 2020-06-23 16:25:51 +02:00
parent cc617b059c
commit 1f896c9735

View File

@ -247,10 +247,10 @@ meta_gpu_kms_set_power_save_mode (MetaGpuKms *gpu_kms,
/* Turn off CRTCs for DPMS */ /* Turn off CRTCs for DPMS */
for (l = meta_gpu_get_crtcs (gpu); l; l = l->next) for (l = meta_gpu_get_crtcs (gpu); l; l = l->next)
{ {
MetaCrtcKms *crtc_kms = META_CRTC_KMS (l->data); MetaCrtc *crtc = META_CRTC (l->data);
meta_kms_update_mode_set (kms_update, meta_kms_update_mode_set (kms_update,
meta_crtc_kms_get_kms_crtc (crtc_kms), meta_crtc_kms_get_kms_crtc (crtc),
NULL, NULL); NULL, NULL);
} }
} }