diff --git a/clutter/cogl/cogl/cogl-bitmap-pixbuf.c b/clutter/cogl/cogl/cogl-bitmap-pixbuf.c index 559574fc3..d85701673 100644 --- a/clutter/cogl/cogl/cogl-bitmap-pixbuf.c +++ b/clutter/cogl/cogl/cogl-bitmap-pixbuf.c @@ -278,7 +278,7 @@ _cogl_bitmap_from_file (const char *filename, pixel_format, width, height, - rowstride, + n_channels * width, (CoglBitmapDestroyNotify) g_free, NULL); }