Fix compressed texture loads for non-minimal pitches again
authorLuca Barbieri <luca@luca-barbieri.com>
Wed, 20 Jan 2010 01:39:27 +0000 (17:39 -0800)
committerBrian Paul <brianp@vmware.com>
Mon, 25 Jan 2010 15:11:49 +0000 (08:11 -0700)
commit9328f3a670993167d7fb9a590f9e712467e77c7c
treea68b5f92ab08ee4b8865bec29414a8300615e933
parent2204447de320afe201a9369f57658cae0a11a440
Fix compressed texture loads for non-minimal pitches again

My commit eea6a7639f767b1d30b6ef1f91a9c49e3f3b78f0 does a memcpy of height
lines, but that's wrong because the texture has a block layout and we
must thus use the number of vertical blocks instead of the height.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_texture.c