main: Fixed _mesa_GetCompressedTexImage_sw to copy slices correctly.
authorLaura Ekstrand <laura@jlekstrand.net>
Mon, 16 Feb 2015 22:29:57 +0000 (14:29 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Tue, 17 Feb 2015 21:45:48 +0000 (13:45 -0800)
commit92163482bda87216764edc0beca3ca090678038d
tree2d3b53887f24c014fb25c7f362db96efdbb4a993
parent4470bf1f494ce313bda4f1627c775569d886f93f
main: Fixed _mesa_GetCompressedTexImage_sw to copy slices correctly.

Previously array textures were not working with GetCompressedTextureImage,
leading to failures in the test
arb_direct_state_access/getcompressedtextureimage.c.

Tested-by: Laura Ekstrand <laura@jlekstrand.net>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: "10.4, 10.5" <mesa-stable@lists.freedesktop.org>
src/mesa/main/texgetimage.c