cogl: Remove cogl_material_set_layer_combine_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:40:32 +01:00 committed by Marge Bot
parent ca25c5543a
commit a8cd59e029
2 changed files with 0 additions and 30 deletions

View File

@ -116,13 +116,3 @@ cogl_material_set_layer_combine (CoglMaterial *material,
blend_string, blend_string,
error); error);
} }
void
cogl_material_set_layer_combine_constant (CoglMaterial *material,
int layer_index,
const CoglColor *constant)
{
cogl_pipeline_set_layer_combine_constant (COGL_PIPELINE (material),
layer_index,
constant);
}

View File

@ -519,26 +519,6 @@ cogl_material_set_layer_combine (CoglMaterial *material,
const char *blend_string, const char *blend_string,
GError **error); GError **error);
/**
* cogl_material_set_layer_combine_constant:
* @material: A #CoglMaterial object
* @layer_index: Specifies the layer you want to specify a constant used
* for texture combining
* @constant: The constant color you want
*
* When you are using the 'CONSTANT' color source in a layer combine
* description then you can use this function to define its value.
*
* Since: 1.0
* Deprecated: 1.16: Use cogl_pipeline_set_layer_combine_constant()
* instead
*/
COGL_DEPRECATED_FOR (cogl_pipeline_set_layer_combine_constant)
COGL_EXPORT void
cogl_material_set_layer_combine_constant (CoglMaterial *material,
int layer_index,
const CoglColor *constant);
G_END_DECLS G_END_DECLS
#endif /* __COGL_MATERIAL_H__ */ #endif /* __COGL_MATERIAL_H__ */