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 23:00:31 +0000 (17:00 -0600)
commit3e45788d5dd7af4635988d8fd9f1bfaa77d1dd9c
tree55cabb28124a135d73b7af4d921577ffe7e6a989
parent4c2a7bc4380017bec53a88cd9a8385cad73a9f0d
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