mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
ee57192f47
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.