From e7720c415649cb67453b90764258f398f8e97107 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 9 Nov 2011 02:04:31 +0000 Subject: [PATCH] deform-effect: do not redraw actor on invalidate When invalidating the deform effect, we are invalidating the vertices shaping the deformation of an actor. Therefore, there is no need to trigger a redraw of the associated actor, we can just repaint the effect. Signed-off-by: Lionel Landwerlin https://bugzilla.gnome.org/show_bug.cgi?id=663720 --- clutter/clutter-deform-effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-deform-effect.c b/clutter/clutter-deform-effect.c index 5f1954e44..ddac5db9d 100644 --- a/clutter/clutter-deform-effect.c +++ b/clutter/clutter-deform-effect.c @@ -766,5 +766,5 @@ clutter_deform_effect_invalidate (ClutterDeformEffect *effect) actor = clutter_actor_meta_get_actor (CLUTTER_ACTOR_META (effect)); if (actor != NULL) - clutter_actor_queue_redraw (actor); + clutter_effect_queue_repaint (CLUTTER_EFFECT (effect)); }