mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
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:
@ -114,11 +114,11 @@ test_coglbox_fade_texture (gfloat x1,
|
||||
|
||||
for (i = 0; i < 4; i++)
|
||||
{
|
||||
cogl_color_set_from_4ub (&(vertices[i].color),
|
||||
255,
|
||||
255,
|
||||
255,
|
||||
((i ^ (i >> 1)) & 1) ? 0 : 128);
|
||||
cogl_color_init_from_4ub (&(vertices[i].color),
|
||||
255,
|
||||
255,
|
||||
255,
|
||||
((i ^ (i >> 1)) & 1) ? 0 : 128);
|
||||
cogl_color_premultiply (&(vertices[i].color));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user