mirror of
https://github.com/brl/mutter.git
synced 2025-03-20 18:25:04 +00:00

It is valid in some situations to have a material layer with an invalid texture handle (e.g. if you setup a texture combine mode before setting the texture) and so _cogl_material_layer_free needs to check for a valid handle before attempting to unref it.