This function removes a layer from your material
Use cogl_pipeline_remove_layer instead
cogl_pipeline_remove_layer
A CoglMaterial object
CoglMaterial
Specifies the layer you want to remove