mesa: Add support for glGetTexImage on GL_TEXTURE_1D_ARRAY
authorEric Anholt <eric@anholt.net>
Fri, 20 Jan 2012 23:03:12 +0000 (15:03 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 25 Jan 2012 00:34:02 +0000 (16:34 -0800)
commit08acd4bd61430beb20a74af23de9f63c8f077467
tree328d89cb2b7a264527cd801bc970dfd1ce5a4dd1
parent86ca4f9cb66aa39c196ae5fc37f6a270d9a1156f
mesa: Add support for glGetTexImage on GL_TEXTURE_1D_ARRAY

Similarly to how we handle this in texstore, we have to remap height
to depth so that we MapTextureImage each image layer individually.

Fixes part of Intel oglconform's int-textures advanced.fbo.rtt

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texgetimage.c