From ca25c5543a1b948e739a7c418a68168303b39d6d Mon Sep 17 00:00:00 2001 From: Fernando Monteiro Date: Mon, 18 Oct 2021 22:38:47 +0100 Subject: [PATCH] cogl: Remove cogl_material_set_layer_matrix This function is deprecated and must be replaced to the alternative. Part-of: --- cogl/cogl/deprecated/cogl-material-compat.c | 9 --------- cogl/cogl/deprecated/cogl-material-compat.h | 16 ---------------- 2 files changed, 25 deletions(-) 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__ */