st/mesa: improved st_texture_image_copy()
authorBrian Paul <brianp@vmware.com>
Tue, 4 May 2010 16:29:40 +0000 (10:29 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 4 May 2010 16:29:42 +0000 (10:29 -0600)
commitc2b47a75577c881ab88b0715791d24d9a9f8ee7e
tree0044375d9c3274a30916c4d832138572365d773e
parentdad962bafe8ffd7fdb35c28cfb8bbd5a297c8083
st/mesa: improved st_texture_image_copy()

No longer need to search for the src mipmap level.
Added assertions.
Updated comments.
Moved debug code into separate function.
src/mesa/state_tracker/st_texture.c