mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
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.
This commit is contained in:
parent
4c2a7bc438
commit
3e45788d5d
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue