mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Bug #330022 Wrong pixel values are computed when color = 0xFF and alpha =
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Bug #330022 Wrong pixel values are computed when color = 0xFF and alpha = 0xFF
This commit is contained in:
parent
5d0d3d196d
commit
67ac65e146
@ -1,3 +1,8 @@
|
||||
2006-02-05 Dom Lachowicz <cinamod@hotmail.com>
|
||||
|
||||
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Bug #330022
|
||||
Wrong pixel values are computed when color = 0xFF and alpha = 0xFF
|
||||
|
||||
2006-02-04 Michael Emmel <mike.emmel@gmail.com>
|
||||
Added new directfb backend located in gdk/directfb
|
||||
plus patches to compile new backend
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-02-05 Dom Lachowicz <cinamod@hotmail.com>
|
||||
|
||||
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Bug #330022
|
||||
Wrong pixel values are computed when color = 0xFF and alpha = 0xFF
|
||||
|
||||
2006-02-04 Michael Emmel <mike.emmel@gmail.com>
|
||||
Added new directfb backend located in gdk/directfb
|
||||
plus patches to compile new backend
|
||||
|
@ -193,7 +193,7 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr,
|
||||
guchar *end = p + 4 * width;
|
||||
guint t1,t2,t3;
|
||||
|
||||
#define MULT(d,c,a,t) G_STMT_START { t = c * a; d = ((t >> 8) + t) >> 8; } G_STMT_END
|
||||
#define MULT(d,c,a,t) G_STMT_START { t = c * a + 0x7f; d = ((t >> 8) + t) >> 8; } G_STMT_END
|
||||
|
||||
while (p < end)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user