mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
clutter/actor: Remove unnecessary check
The stage clip is *never* NULL - it is a structure field of ClutterStage itself. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1489
This commit is contained in:
parent
793ca68d8c
commit
01ccc54ce8
@ -3459,13 +3459,6 @@ cull_actor (ClutterActor *self,
|
||||
|
||||
stage = (ClutterStage *) _clutter_actor_get_stage_internal (self);
|
||||
stage_clip = _clutter_stage_get_clip (stage);
|
||||
if (G_UNLIKELY (!stage_clip))
|
||||
{
|
||||
CLUTTER_NOTE (CLIPPING, "Bail from cull_actor without culling (%s): "
|
||||
"No stage clip set",
|
||||
_clutter_actor_get_debug_name (self));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (clutter_paint_context_is_drawing_off_stage (paint_context))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user