mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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:
parent
fbadfa1a6b
commit
a6a998e4d8
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user