backends/native: Remove unused meta_kms_crtc_has_gamma

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2861>
This commit is contained in:
Sebastian Wick 2023-02-17 22:57:38 +01:00 committed by Marge Bot
parent 36aada2164
commit 4cf73fcfed
2 changed files with 0 additions and 9 deletions

View File

@ -101,13 +101,6 @@ meta_kms_crtc_is_active (MetaKmsCrtc *crtc)
return crtc->current_state.is_active;
}
gboolean
meta_kms_crtc_has_gamma (MetaKmsCrtc *crtc)
{
return crtc->current_state.gamma.size > 0;
}
static void
read_gamma_state (MetaKmsCrtc *crtc,
MetaKmsCrtcState *crtc_state,

View File

@ -71,8 +71,6 @@ uint32_t meta_kms_crtc_get_id (MetaKmsCrtc *crtc);
int meta_kms_crtc_get_idx (MetaKmsCrtc *crtc);
gboolean meta_kms_crtc_has_gamma (MetaKmsCrtc *crtc);
META_EXPORT_TEST
gboolean meta_kms_crtc_is_active (MetaKmsCrtc *crtc);