mirror of
https://github.com/brl/mutter.git
synced 2025-03-23 11:43:50 +00:00
Do not set the IN_PAINT flag inside the Stage paint
Since the CLUTTER_ACTOR_IN_PAINT private flag is set as part of the paint process by clutter_actor_paint(), there is no need to set it inside the ClutterStage paint function.
This commit is contained in:
parent
3f2c9fe6b3
commit
1b88122873
@ -213,8 +213,6 @@ clutter_stage_paint (ClutterActor *self)
|
||||
ClutterStagePrivate *priv = CLUTTER_STAGE (self)->priv;
|
||||
CoglColor stage_color;
|
||||
|
||||
CLUTTER_SET_PRIVATE_FLAGS (self, CLUTTER_ACTOR_IN_PAINT);
|
||||
|
||||
CLUTTER_NOTE (PAINT, "Initializing stage paint");
|
||||
|
||||
cogl_color_set_from_4ub (&stage_color,
|
||||
@ -235,8 +233,6 @@ clutter_stage_paint (ClutterActor *self)
|
||||
CLUTTER_NOTE (PAINT, "Proxying the paint to the stage implementation");
|
||||
clutter_actor_paint (priv->impl);
|
||||
|
||||
CLUTTER_UNSET_PRIVATE_FLAGS (self, CLUTTER_ACTOR_IN_PAINT);
|
||||
|
||||
/* this will take care of painting every child */
|
||||
CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->paint (self);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user