radeon: fix teximage migration failure in rare case
authorMaciej Cencora <m.cencora@gmail.com>
Sun, 11 Jul 2010 13:33:18 +0000 (15:33 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Sun, 11 Jul 2010 13:34:17 +0000 (15:34 +0200)
commitad24ea37bb0cef7b383bb38e31466b6bb1f7fce6
treef463f61355a2ab3c989ba16734a364ab22f1f55f
parent452a7d5a9d339db3326f33d464dce1a879ccc533
radeon: fix teximage migration failure in rare case

Always store selected miptree in texObj->mt so get_base_teximage_offset returns correct data.
Found with piglit/mipmap-setup.

Candidate for 7.8 branch.

Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c