diff --git a/src/backends/native/meta-kms-crtc.c b/src/backends/native/meta-kms-crtc.c index da99a58cd..6cf752494 100644 --- a/src/backends/native/meta-kms-crtc.c +++ b/src/backends/native/meta-kms-crtc.c @@ -203,6 +203,7 @@ meta_kms_crtc_predict_state (MetaKmsCrtc *crtc, if (gamma->crtc != crtc) continue; + clear_gamma_state (crtc); crtc->current_state.gamma.size = gamma->size; crtc->current_state.gamma.red = g_memdup (gamma->red, gamma->size * sizeof (uint16_t));