mirror of
https://github.com/brl/mutter.git
synced 2025-02-09 01:54:10 +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.