Commit 67ac65e1 authored by Dom Lachowicz's avatar Dom Lachowicz
Browse files

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
parent 5d0d3d19
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
......
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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment