mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 03:49:03 +00:00
66cb117056
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.