2007-08-01 Matthew Allum <mallum@openedhand.com>

* clutter/clutter-color.c: (clutter_color_from_pixel):
        Fix typo in alpha channel extraction (#434)
This commit is contained in:
Matthew Allum 2007-08-01 22:09:33 +00:00
parent fbadfa1a6b
commit a6a998e4d8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-08-01 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-color.c: (clutter_color_from_pixel):
Fix typo in alpha channel extraction (#434)
2007-08-01 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.[ch]: Add floating-point variant of the

View File

@ -447,7 +447,7 @@ clutter_color_from_pixel (ClutterColor *dest,
dest->red = pixel >> 24;
dest->green = (pixel >> 16) & 0xff;
dest->blue = (pixel >> 8) & 0xff;
dest->alpha = pixel % 0xff;
dest->alpha = pixel & 0xff;
}
/**