intel: Fix CopyTexImage from tiled mipmap levels > 0.
Fixes piglit fbo-copyteximage.
This commit is contained in:
parent
63610fae4f
commit
19a26dfc47
|
@ -160,13 +160,14 @@ do_copy_texsubimage(struct intel_context *intel,
|
|||
intelImage->mt->cpp,
|
||||
src_pitch,
|
||||
src->buffer,
|
||||
src->draw_offset,
|
||||
0,
|
||||
src->tiling,
|
||||
intelImage->mt->pitch,
|
||||
dst_bo,
|
||||
0,
|
||||
intelImage->mt->region->tiling,
|
||||
x, y, image_x + dstx, image_y + dsty,
|
||||
src->draw_x + x, src->draw_y + y,
|
||||
image_x + dstx, image_y + dsty,
|
||||
width, height,
|
||||
GL_COPY)) {
|
||||
UNLOCK_HARDWARE(intel);
|
||||
|
|
Loading…
Reference in New Issue