* clutter-gtk/gtk-clutter-util.c:
(gtk_clutter_texture_new_from_pixbuf),
(gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
an alpha before setting the BPP.
+2008-07-31 Emmanuele Bassi <ebassi@openedhand.com>
+
+ * clutter-gtk/gtk-clutter-util.c:
+ (gtk_clutter_texture_new_from_pixbuf),
+ (gtk_clutter_texture_set_from_pixbuf): Check if the pixbuf has
+ an alpha before setting the BPP.
+
======== Clutter-GTK 0.8.1 ====================================================
2008-07-18 Emmanuele Bassi <ebassi@openedhand.com>
gdk_pixbuf_get_width (pixbuf),
gdk_pixbuf_get_height (pixbuf),
gdk_pixbuf_get_rowstride (pixbuf),
- 4, 0,
+ gdk_pixbuf_get_has_alpha (pixbuf) ? 3 : 4,
+ 0,
&error);
if (error)
{
gdk_pixbuf_get_width (pixbuf),
gdk_pixbuf_get_height (pixbuf),
gdk_pixbuf_get_rowstride (pixbuf),
- 4, 0,
+ gdk_pixbuf_get_has_alpha (pixbuf) ? 3 : 4,
+ 0,
&error);
if (error)
{