_mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match.
authorMichel Dänzer <michel@tungstengraphics.com>
Thu, 14 Dec 2006 09:01:43 +0000 (10:01 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Thu, 14 Dec 2006 10:01:38 +0000 (11:01 +0100)
commit9c09259b8bef8f120cc6f4bb1a44f0eae37d71b3
treee22ddc54f948e3ce110649814fd914c10c27c133
parent78a6e054393533a9cb2fe9f5a087d10b0f15bd9c
_mesa_swizzle_ubyte_image: Only use single swizzle_copy call when strides match.

This fixes texture data corruption with glTexSubimage (and probably glTexImage
under some circumstances) with the texstore swizzle path.
src/mesa/main/texstore.c