mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 19:12:04 +00:00
2006-12-05 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-rectangle.c: Forgot to set the pencil color.
This commit is contained in:
parent
bcc224ec37
commit
a56ea84dd5
@ -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>
|
||||
|
||||
* behave.c: Add test for clutter_color_parse().
|
||||
|
@ -113,6 +113,11 @@ clutter_rectangle_paint (ClutterActor *self)
|
||||
}
|
||||
else
|
||||
{
|
||||
glColor4ub (priv->color.red,
|
||||
priv->color.green,
|
||||
priv->color.blue,
|
||||
clutter_actor_get_opacity (self));
|
||||
|
||||
glRecti (0, 0, geom.width, geom.height);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user