diff --git a/cogl/cogl/deprecated/cogl-material-compat.c b/cogl/cogl/deprecated/cogl-material-compat.c index 12babd0a8..abc4067e0 100644 --- a/cogl/cogl/deprecated/cogl-material-compat.c +++ b/cogl/cogl/deprecated/cogl-material-compat.c @@ -126,12 +126,3 @@ cogl_material_set_layer_combine_constant (CoglMaterial *material, layer_index, constant); } - -void -cogl_material_set_layer_matrix (CoglMaterial *material, - int layer_index, - const graphene_matrix_t *matrix) -{ - cogl_pipeline_set_layer_matrix (COGL_PIPELINE (material), - layer_index, matrix); -} diff --git a/cogl/cogl/deprecated/cogl-material-compat.h b/cogl/cogl/deprecated/cogl-material-compat.h index 720e86acd..99a78e75f 100644 --- a/cogl/cogl/deprecated/cogl-material-compat.h +++ b/cogl/cogl/deprecated/cogl-material-compat.h @@ -539,22 +539,6 @@ cogl_material_set_layer_combine_constant (CoglMaterial *material, int layer_index, const CoglColor *constant); -/** - * cogl_material_set_layer_matrix: - * @material: A #CoglMaterial object - * @layer_index: the index for the layer inside @material - * @matrix: the transformation matrix for the layer - * - * This function lets you set a matrix that can be used to e.g. translate - * and rotate a single layer of a material used to fill your geometry. - * Deprecated: 1.16: Use cogl_pipeline_set_layer_matrix() instead - */ -COGL_DEPRECATED_FOR (cogl_pipeline_set_layer_matrix) -COGL_EXPORT void -cogl_material_set_layer_matrix (CoglMaterial *material, - int layer_index, - const graphene_matrix_t *matrix); - G_END_DECLS #endif /* __COGL_MATERIAL_H__ */