mesa/st: fix incorrect face, level in compress_with_blit
authorKeith Whitwell <keithw@vmware.com>
Mon, 27 Apr 2009 13:42:23 +0000 (14:42 +0100)
committerKeith Whitwell <keithw@vmware.com>
Mon, 27 Apr 2009 13:43:57 +0000 (14:43 +0100)
commit5ed7764fd6354da8e2be15d6fb724c2d6be9be4a
treeed89c7b4d2706e37dd215e91d99568a85f18ed52
parente32660060954c0d1a1f7636c6365970348f3be24
mesa/st: fix incorrect face, level in compress_with_blit

We were incorrectly applying the destination texture face and level
when requesting a transfer to the temporary texture, which has only
one face and level.  This would obviously cause problems uploading to
compressed cube and mipmap textures.
src/mesa/state_tracker/st_cb_texture.c