Error can be delegated to Cogl now. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2355>