summaryrefslogtreecommitdiff
path: root/clutter/clutter-offscreen-effect.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-09-03 16:55:12 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-09-03 16:58:47 +0100
commitabef73bb58aa69ec63ebe2dbaed959da7dec0bb5 (patch)
treed0138120006dc717f7110841d0d0fa9a3caa9b71 /clutter/clutter-offscreen-effect.c
parent0e2b0e496ee6b5f96e76e8dfa36dbf9a9b172de0 (diff)
downloadclutter-abef73bb58aa69ec63ebe2dbaed959da7dec0bb5.tar.gz
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.
Diffstat (limited to 'clutter/clutter-offscreen-effect.c')
-rw-r--r--clutter/clutter-offscreen-effect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-offscreen-effect.c b/clutter/clutter-offscreen-effect.c
index 308edb921..2685afe7a 100644
--- a/clutter/clutter-offscreen-effect.c
+++ b/clutter/clutter-offscreen-effect.c
@@ -287,7 +287,7 @@ clutter_offscreen_effect_pre_paint (ClutterEffect *effect)
perspective.z_near,
perspective.z_far);
- cogl_color_set_from_4ub (&transparent, 0, 0, 0, 0);
+ cogl_color_init_from_4ub (&transparent, 0, 0, 0, 0);
cogl_clear (&transparent,
COGL_BUFFER_BIT_COLOR |
COGL_BUFFER_BIT_DEPTH);