mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 02:19:15 +00:00
Robert Bragg
cc0b76b405
material: don't keep extra ref on copy-on-write materials
In _cogl_material_pre_change_notify if a material with descendants is modified then we create a new material that is a copy of the one being modified and reparent those descendants to the new material. This patch ensures we drop the reference we get from cogl_material_copy since we can rely on the descendants to keep the new material alive.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%