clutter-texture: queue redraw when changing pick_with_alpha

The expectation is that actors should call clutter_actor_queue_redraw
when ever some private state changes that affects painting *or* picking.
ClutterTexture was not doing this for pick_with_alpha property changes.
This commit is contained in:
Robert Bragg 2010-08-18 18:05:15 +01:00
parent 965907deb3
commit f8940e3c9a

View File

@ -2910,6 +2910,11 @@ clutter_texture_set_pick_with_alpha (ClutterTexture *texture,
/* NB: the pick material is created lazily when we first pick */
priv->pick_with_alpha = pick_with_alpha;
/* NB: actors are expected to call clutter_actor_queue_redraw when
* ever some state changes that will affect painting *or picking...
*/
clutter_actor_queue_redraw (CLUTTER_ACTOR (texture));
}
/**