mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 16:08:20 +02:00
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:
parent
f367e69332
commit
158b338fb2
2 changed files with 7 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue