diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-30 21:01:11 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-30 21:18:43 +0100 |
commit | 43176b9bfafe389c4b9ed676f4e50e3b06f858c4 (patch) | |
tree | 17ee682cf1c0ebc886c29d7c390b50e34b45d3bd /src/sna/sna_trapezoids.c | |
parent | 6c3399715e316be970c696b8949e3c14e83ea5df (diff) |
sna/dri2: Pass around the correct DrawableRec for sampling from the foriegn bo
One day, we will move the width/height/bpp to the bo itself...
Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_trapezoids.c')
-rw-r--r-- | src/sna/sna_trapezoids.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c index 789be9cf..2c1fa655 100644 --- a/src/sna/sna_trapezoids.c +++ b/src/sna/sna_trapezoids.c @@ -801,8 +801,8 @@ trap_upload(PicturePtr picture, /* XXX clip boxes */ get_drawable_deltas(picture->pDrawable, pixmap, &x, &y); sna->render.copy_boxes(sna, GXcopy, - scratch, __sna_pixmap_get_bo(scratch), -extents.x1, -extents.x1, - pixmap, priv->gpu_bo, x, y, + &scratch->drawable, __sna_pixmap_get_bo(scratch), -extents.x1, -extents.x1, + &pixmap->drawable, priv->gpu_bo, x, y, &extents, 1, 0); mark_damaged(pixmap, priv, &extents, x, y); |