cogl-bitmap-pixbuf: Fix the rowstride used when copying a GdkPixbuf
authorNeil Roberts <neil@linux.intel.com>
Thu, 22 Jul 2010 18:15:44 +0000 (19:15 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 22 Jul 2010 19:13:15 +0000 (20:13 +0100)
commitb9295bf0e5e103c2acd4b1c14d402780e824c69a
tree3ea620aa96c83e2743ed9045c55c8de25ceb402f
parentbb1b1b151e28b87071cdc064af648f8c7d26b1e9
cogl-bitmap-pixbuf: Fix the rowstride used when copying a GdkPixbuf

In commit b780413e5ae4b the GdkPixbuf loading code was changed so that
if it needs to copy the pixbuf then it would tightly pack it. However
it was still using the rowstride from the pixbuf so the image would
end up skewed. This fixes it to use the real rowstride.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2235
clutter/cogl/cogl/cogl-bitmap-pixbuf.c