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:
parent
ca25c5543a
commit
a8cd59e029
@ -116,13 +116,3 @@ cogl_material_set_layer_combine (CoglMaterial *material,
|
||||
blend_string,
|
||||
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);
|
||||
}
|
||||
|
@ -519,26 +519,6 @@ cogl_material_set_layer_combine (CoglMaterial *material,
|
||||
const char *blend_string,
|
||||
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
|
||||
|
||||
#endif /* __COGL_MATERIAL_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user