Fix the big endian case for 3-channel source. (Reported by David Zeuthen)

2005-06-23  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
        big endian case for 3-channel source. (Reported by
        David Zeuthen)
This commit is contained in:
Owen Taylor 2005-06-23 13:49:06 +00:00 committed by Owen Taylor
parent 3be3d84b6a
commit 3c4ffb12ab
4 changed files with 21 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2005-06-23 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
big endian case for 3-channel source. (Reported by
David Zeuthen)
2005-06-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c (gtk_button_construct_child): Don't

View File

@ -1,3 +1,9 @@
2005-06-23 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
big endian case for 3-channel source. (Reported by
David Zeuthen)
2005-06-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c (gtk_button_construct_child): Don't

View File

@ -1,3 +1,9 @@
2005-06-23 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
big endian case for 3-channel source. (Reported by
David Zeuthen)
2005-06-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c (gtk_button_construct_child): Don't

View File

@ -180,9 +180,9 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr,
q[1] = p[1];
q[2] = p[0];
#else
q[0] = p[0];
q[1] = p[1];
q[2] = p[2];
q[1] = p[0];
q[2] = p[1];
q[3] = p[2];
#endif
p += 3;
q += 4;