summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_tex_copy.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-09-22 11:58:37 -0700
committerEric Anholt <eric@anholt.net>2011-09-26 15:33:42 -0700
commit8004a1cb95b8a195f3f4bbaa8d39d2f3297167de (patch)
tree7c3736ad08f9ea998af6c23b0b25a6796bebdcaa /src/mesa/drivers/dri/intel/intel_tex_copy.c
parentb4721bf711df5a18489939b373b5e3fa10d28daa (diff)
intel: Rename region->buffer to region->bo, and remove accessor function.
We call all the other drm_intel_bo pointers in intel/*.h "bo", so this one was rather out of place. Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex_copy.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_copy.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c
index 326f62f7567..907ce7f9b10 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_copy.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_copy.c
@@ -109,9 +109,6 @@ intel_copy_texsubimage(struct intel_context *intel,
}
{
- drm_intel_bo *dst_bo = intel_region_buffer(intel,
- intelImage->mt->region,
- INTEL_WRITE_PART);
GLuint image_x, image_y;
GLshort src_pitch;
@@ -140,11 +137,11 @@ intel_copy_texsubimage(struct intel_context *intel,
if (!intelEmitCopyBlit(intel,
intelImage->mt->cpp,
src_pitch,
- irb->region->buffer,
+ irb->region->bo,
0,
irb->region->tiling,
intelImage->mt->region->pitch,
- dst_bo,
+ intelImage->mt->region->bo,
0,
intelImage->mt->region->tiling,
irb->draw_x + x, irb->draw_y + y,