stage: handle unclipped redraw following clipped

In the case that an unclipped redraw of an actor is queued after a
clipped we should update any existing ClutterStageQueueRedrawEntry
so entry->has_clip = FALSE and free the previous clip.
This commit is contained in:
Robert Bragg 2010-09-30 18:42:40 +01:00
parent d032b9b2bf
commit 07f2dba7e2

View File

@ -3199,6 +3199,11 @@ _clutter_stage_queue_actor_redraw (ClutterStage *stage,
* clip together with the existing clip */
if (clip)
clutter_paint_volume_union (&entry->clip, clip);
else
{
clutter_paint_volume_free (&entry->clip);
entry->has_clip = FALSE;
}
return entry;
}
else