mesa: fix _mesa_store_texsubimage2d() for GL_TEXTURE_1D_ARRAY
authorBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 15:54:27 +0000 (08:54 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 24 Dec 2011 16:25:41 +0000 (09:25 -0700)
commitafebe13986e1ab69c8f80e957653b35aaee2269b
treefa489e182dfcad3159f0284cee92c1778d37a632
parent9b26aa4c7af189b480b620926eed9560c8e63656
mesa: fix _mesa_store_texsubimage2d() for GL_TEXTURE_1D_ARRAY

For 1D arrays, map each slice separately.  Note that this was handled
correctly in _mesa_store_teximage2d() but not here.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/texstore.c