mesa: push row stride adjustment down into _mesa_decompress_image()
authorBrian Paul <brianp@vmware.com>
Thu, 9 Feb 2012 03:10:15 +0000 (20:10 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 10 Feb 2012 15:06:57 +0000 (08:06 -0700)
commit07459ba50979a99e12720bd9e41a1aa3b8d24e41
tree2cfe8cc84f3b802f9008bb2feeaf6936f6d45b0a
parent9d9111108eadd65708899284b1cfa9ca425f3ac8
mesa: push row stride adjustment down into _mesa_decompress_image()

There's a mismatch in row strides for compressed textures between
what Driver.MapTextureImage() returns and what the software fetch-texel
functions use.  Move it down a layer.  The next step would be to fix
this in the fetch-texel functions.
src/mesa/main/texcompress.c
src/mesa/main/texgetimage.c