Remove a non-sensical XXX that crept in at some point; for a solid color, there is no difference between premultiplied and non-premultiplied colors.

This commit is contained in:
Owen Taylor 2005-08-06 10:22:07 +00:00
parent f367e69332
commit 158b338fb2
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2005-08-06 Owen Taylor <otaylor@redhat.com>
* src/cairo-win32-font.c (_cairo_win32_scaled_font_show_glyphs):
Remove a non-sensical XXX that crept in at some point; for
a solid color, there is no difference between premultiplied
and non-premultiplied colors.
2005-08-06 Carl Worth <cworth@cworth.org>
* src/cairo-ft-font.c: (_cairo_ft_scaled_font_create),

View file

@ -1056,7 +1056,6 @@ _cairo_win32_scaled_font_show_glyphs (void *abstract_font,
*/
COLORREF new_color;
/* XXX Use the unpremultiplied or premultiplied color? */
new_color = RGB (((int)solid_pattern->color.red_short) >> 8,
((int)solid_pattern->color.green_short) >> 8,
((int)solid_pattern->color.blue_short) >> 8);