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:
parent
403f44e7b0
commit
f90f8f84c3
2 changed files with 0 additions and 23 deletions
|
@ -74,10 +74,3 @@ cogl_material_set_blend (CoglMaterial *material,
|
||||||
blend_string,
|
blend_string,
|
||||||
error);
|
error);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
cogl_material_set_blend_constant (CoglMaterial *material,
|
|
||||||
const CoglColor *constant_color)
|
|
||||||
{
|
|
||||||
cogl_pipeline_set_blend_constant (COGL_PIPELINE (material), constant_color);
|
|
||||||
}
|
|
||||||
|
|
|
@ -309,22 +309,6 @@ cogl_material_set_blend (CoglMaterial *material,
|
||||||
const char *blend_string,
|
const char *blend_string,
|
||||||
GError **error);
|
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
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __COGL_MATERIAL_H__ */
|
#endif /* __COGL_MATERIAL_H__ */
|
||||||
|
|
Loading…
Reference in a new issue