intel: fix src offset bug in do_copy_texsubimage()
authorBrian Paul <brianp@vmware.com>
Tue, 27 Oct 2009 22:39:01 +0000 (16:39 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 27 Oct 2009 22:46:20 +0000 (16:46 -0600)
commit22575abdec73312e010e016e381f7cf8761ad652
treef92b0ec3fb01a68073eb3df75ee73ed9e3a4ecec
parent517ae7a3b65bca6770e8738464aa0ef526cc88b4
intel: fix src offset bug in do_copy_texsubimage()

Use src->draw_offset intead of zero.  Zero usually worked, except when
the src renderbuffer is actually a texture mipmap level higher than zero.
Fixes progs/test/blitfb.c test.
src/mesa/drivers/dri/intel/intel_tex_copy.c