mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +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:
parent
e40ba6e9b7
commit
d7e01ee396
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2008-01-31 Rob Bradford <rob@openedhand.com>
|
||||||
|
|
||||||
* clutter/x11/clutter-backend-x11-private.h:
|
* clutter/x11/clutter-backend-x11-private.h:
|
||||||
|
@ -2000,6 +2000,8 @@ clutter_actor_init (ClutterActor *self)
|
|||||||
priv->scale_y = CFX_ONE;
|
priv->scale_y = CFX_ONE;
|
||||||
priv->shader_data = NULL;
|
priv->shader_data = NULL;
|
||||||
|
|
||||||
|
memset (priv->clip, 0, sizeof (ClutterUnit) * 4);
|
||||||
|
|
||||||
clutter_actor_request_coords (self, &box);
|
clutter_actor_request_coords (self, &box);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user