mesa: handle 2D texture arrays in get_tex_rgba_compressed()
authorBrian Paul <brianp@vmware.com>
Mon, 15 Jul 2013 16:23:49 +0000 (10:23 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Jul 2013 21:29:29 +0000 (15:29 -0600)
commit2931bcb0d245c356ea9c467e792fd176790f9cfc
tree02c70ab0954efbfc942e4a59ee969122f7589575
parent5c37039797938e43a7dfb6c7d39a1f0bb4f32df3
mesa: handle 2D texture arrays in get_tex_rgba_compressed()

If we call glGetTexImage() for a compressed 2D texture array we need
to loop over all the slices.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66850

NOTE: This is a candidate for the 9.x branches.
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/texgetimage.c