mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
intel: Fix CopyTexImage from tiled mipmap levels > 0.
Fixes piglit fbo-copyteximage.
This commit is contained in:
parent
63610fae4f
commit
19a26dfc47
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue