projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517ae7a
)
intel: fix src offset bug in do_copy_texsubimage()
author
Brian Paul
<brianp@vmware.com>
Tue, 27 Oct 2009 22:39:01 +0000
(16:39 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 27 Oct 2009 22:46:20 +0000
(16:46 -0600)
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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_copy.c
b/src/mesa/drivers/dri/intel/intel_tex_copy.c
index 9d58b11b14ffec747c2296e173dd826f83ae847b..95dee60f9c1eb8acd0c1c8d18d612fde0195b0b5 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_copy.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_copy.c
@@
-158,7
+158,7
@@
do_copy_texsubimage(struct intel_context *intel,
intelImage->mt->cpp,
src_pitch,
src->buffer,
-
0
,
+
src->draw_offset
,
src->tiling,
intelImage->mt->pitch,
dst_bo,