mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 07:34:09 +00:00
fea6abb4f0
Simplify the bo freeing functions by not checking what the copy mode is. This matches what swap_secondary_drm_fb () already does. g_clear_object () is safe to call even if the value is already NULL. The copy mode does not change mid-operation. If it did, this change would ensure we still clean up everything. So this is more future-proof too. https://gitlab.gnome.org/GNOME/mutter/merge_requests/810