cogl: Remove cogl_material_set_blend_constant

This is unused anywhere.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058>
This commit is contained in:
Fernando Monteiro 2021-10-18 22:48:57 +01:00 committed by Marge Bot
parent 403f44e7b0
commit f90f8f84c3
2 changed files with 0 additions and 23 deletions

View File

@ -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);
}

View File

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