Fix cogl_texture_get_data when an intermediate buffer is used
authorNeil Roberts <neil@linux.intel.com>
Thu, 8 Jul 2010 17:33:45 +0000 (18:33 +0100)
committerNeil Roberts <neil@linux.intel.com>
Fri, 9 Jul 2010 10:14:15 +0000 (11:14 +0100)
commiteb24d2a252b33ce86f9bfa476b12c683d88a4776
treee6b2417240c7b8d947de796d56dcee8d10420430
parent9e1bb31922a53a7a27bf03ac92cb9a5cfa743770
Fix cogl_texture_get_data when an intermediate buffer is used

When an intermediate buffer is used for downloading texture data it
was using the wrong byte length for a row so the copy back to the
user's buffer would fail.
clutter/cogl/cogl/cogl-texture.c