mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2008-01-31 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c (clutter_actor_init): Explicitly memset() to 0 the clip container, so if you get the clip without having set it, you won't get garbage. 2008-01-31 Rob Bradford <rob@openedhand.com>
This commit is contained in:
@ -2000,6 +2000,8 @@ clutter_actor_init (ClutterActor *self)
|
||||
priv->scale_y = CFX_ONE;
|
||||
priv->shader_data = NULL;
|
||||
|
||||
memset (priv->clip, 0, sizeof (ClutterUnit) * 4);
|
||||
|
||||
clutter_actor_request_coords (self, &box);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user