cogl-texture-2d-sliced: Use the converted bitmap when uploading
authorNeil Roberts <neil@linux.intel.com>
Mon, 26 Apr 2010 11:41:26 +0000 (12:41 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 29 Apr 2010 12:15:36 +0000 (13:15 +0100)
commite477768bd859550930c57a72318c952076b67158
tree5d794193489f4bf00c2d634e89de960c681388c4
parent405d529f449bb3cfa7f156510a98e70e38c9e1b5
cogl-texture-2d-sliced: Use the converted bitmap when uploading

When uploading texture data the cogl-texture-2d-sliced backend was
using _cogl_texture_prepare_for_upload to create a bitmap suitable for
upload but then it was using the original bitmap instead of the new
bitmap for the data. This was causing any format conversions performed
by cogl_texture_prepare_for_upload to be ignored.

http://bugzilla.openedhand.com/show_bug.cgi?id=2059
clutter/cogl/cogl/cogl-texture-2d-sliced.c