mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
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
@ -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);
|
||||
}
|
||||
|
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user