2006-12-05 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-rectangle.c: Forgot to set the
	pencil color.
This commit is contained in:
Emmanuele Bassi 2006-12-05 13:15:25 +00:00
parent bcc224ec37
commit a56ea84dd5
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-12-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-rectangle.c: Forgot to set the
pencil color.
2006-12-05 Emmanuele Bassi <ebassi@openedhand.com> 2006-12-05 Emmanuele Bassi <ebassi@openedhand.com>
* behave.c: Add test for clutter_color_parse(). * behave.c: Add test for clutter_color_parse().

View File

@ -113,6 +113,11 @@ clutter_rectangle_paint (ClutterActor *self)
} }
else else
{ {
glColor4ub (priv->color.red,
priv->color.green,
priv->color.blue,
clutter_actor_get_opacity (self));
glRecti (0, 0, geom.width, geom.height); glRecti (0, 0, geom.width, geom.height);
} }