From f90f8f84c394e3b15969fae0261740fe0551d6b8 Mon Sep 17 00:00:00 2001 From: Fernando Monteiro Date: Mon, 18 Oct 2021 22:48:57 +0100 Subject: [PATCH] cogl: Remove cogl_material_set_blend_constant This is unused anywhere. Part-of: --- cogl/cogl/deprecated/cogl-material-compat.c | 7 ------- cogl/cogl/deprecated/cogl-material-compat.h | 16 ---------------- 2 files changed, 23 deletions(-) diff --git a/cogl/cogl/deprecated/cogl-material-compat.c b/cogl/cogl/deprecated/cogl-material-compat.c index 3d78a1e07..c3d495651 100644 --- a/cogl/cogl/deprecated/cogl-material-compat.c +++ b/cogl/cogl/deprecated/cogl-material-compat.c @@ -74,10 +74,3 @@ cogl_material_set_blend (CoglMaterial *material, blend_string, error); } - -void -cogl_material_set_blend_constant (CoglMaterial *material, - const CoglColor *constant_color) -{ - cogl_pipeline_set_blend_constant (COGL_PIPELINE (material), constant_color); -} diff --git a/cogl/cogl/deprecated/cogl-material-compat.h b/cogl/cogl/deprecated/cogl-material-compat.h index 47023f9f9..fc9de7a8d 100644 --- a/cogl/cogl/deprecated/cogl-material-compat.h +++ b/cogl/cogl/deprecated/cogl-material-compat.h @@ -309,22 +309,6 @@ cogl_material_set_blend (CoglMaterial *material, const char *blend_string, GError **error); -/** - * cogl_material_set_blend_constant: - * @material: A #CoglMaterial object - * @constant_color: The constant color you want - * - * When blending is setup to reference a CONSTANT blend factor then - * blending will depend on the constant set with this function. - * - * Since: 1.0 - * Deprecated: 1.16: Use cogl_pipeline_set_blend_constant() instead - */ -COGL_DEPRECATED_FOR (cogl_pipeline_set_blend_constant) -COGL_EXPORT void -cogl_material_set_blend_constant (CoglMaterial *material, - const CoglColor *constant_color); - G_END_DECLS #endif /* __COGL_MATERIAL_H__ */