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__ */