Replace cogl_color_set_from_* with cogl_color_init_from_*
The former is not yet "officially" deprecated by the latter, but it's confusing to have them both in the code base.
This commit is contained in:
@ -121,7 +121,7 @@ clutter_page_turn_effect_deform_vertex (ClutterDeformEffect *effect,
|
||||
/* Add a gradient that makes it look like lighting and hides the switch
|
||||
* between textures.
|
||||
*/
|
||||
cogl_color_set_from_4ub (&vertex->color, shade, shade, shade, 0xff);
|
||||
cogl_color_init_from_4ub (&vertex->color, shade, shade, shade, 0xff);
|
||||
}
|
||||
|
||||
if (rx > 0)
|
||||
|
Reference in New Issue
Block a user