Robert Bragg
b493b30257
material: unlink old layer from owner when replacing
In _cogl_material_layer_pre_change_notify when we see that a layer has dependants and it can't be modified directly then we allocate a new layer. In this case we also have to link the new layer to its required owner. If the immutable layer we copied had the same owner though we weren't unlinking that old layer.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%