1
0
Fork 0

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:
Emmanuele Bassi 2008-01-31 14:21:36 +00:00
parent e40ba6e9b7
commit d7e01ee396
2 changed files with 8 additions and 0 deletions

View file

@ -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>
* clutter/x11/clutter-backend-x11-private.h:

View file

@ -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);
}