Fix Sprite Assembly
authorAlan Alpert <alan.alpert@nokia.com>
Thu, 22 Mar 2012 08:12:58 +0000 (18:12 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 23 Mar 2012 02:45:21 +0000 (03:45 +0100)
commitc913351c9d6e3181cdddcc851e9d80cd7689fe93
tree55d707f40da8227c3ddc74248b1d7360c755f259
parentddff2017c81df838aac0ad19b6a3accd36254a7d
Fix Sprite Assembly

This optimization doesn't account for the width of the assembled image
possibly being too small to fit the whole source image width. Since it
meant copying more image data than we needed, I'm no longer convinced
that it actually is an optimization over a simple cut (as this patch
implements).

Change-Id: I3fe502a75979e972f62d9dbf26f1ffec9069a102
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/quick/items/qquickspriteengine.cpp