diff options
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); |