Browse Source

intel: Fix CopyTexImage from tiled mipmap levels > 0.

Fixes piglit fbo-copyteximage.
tags/mesa-7.7-1
Eric Anholt 16 years ago
parent
commit
19a26dfc47
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/mesa/drivers/dri/intel/intel_tex_copy.c

+ 3
- 2
src/mesa/drivers/dri/intel/intel_tex_copy.c View File

@@ -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…
Cancel
Save