st/mesa: when copying mipmap levels between textures, start at BaseLevel
authorBrian Paul <brianp@vmware.com>
Thu, 6 May 2010 19:31:37 +0000 (13:31 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 6 May 2010 20:26:58 +0000 (14:26 -0600)
commit9adebe172df9fbf9ba359d949e64ce07bbef77b7
treed38fdcb53b00576adfe5206e37f06eaa5c3d966e
parent095a6531a2e2720a1488cdd4135b23c20fa7049b
st/mesa: when copying mipmap levels between textures, start at BaseLevel

Saves some work and avoids potential issue with inconsistant mipmap
level sizes.  As long as the mipmap levels from BaseLevel to MaxLevel
are consistant, we don't care about the other levels.
src/mesa/state_tracker/st_cb_texture.c