summaryrefslogtreecommitdiff
path: root/src/cairo-surface-snapshot.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-01-27 10:56:22 +0100
committerBenjamin Otte <otte@redhat.com>2010-04-15 18:31:01 +0200
commit2bffa2467ed67517419e425fc34fb5b8294a9e96 (patch)
treefb6629d0667aaa1e51b348b437ce9e8183798e1d /src/cairo-surface-snapshot.c
parent567923d66a375259a6a8083aa4ef1051097a60c5 (diff)
downloadcairo-2bffa2467ed67517419e425fc34fb5b8294a9e96.tar.gz
Use pixman_image_composite32()
Replace all occurences of pixman_image_composite()
Diffstat (limited to 'src/cairo-surface-snapshot.c')
-rw-r--r--src/cairo-surface-snapshot.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cairo-surface-snapshot.c b/src/cairo-surface-snapshot.c
index 629b80021..745bc58ff 100644
--- a/src/cairo-surface-snapshot.c
+++ b/src/cairo-surface-snapshot.c
@@ -131,12 +131,12 @@ _cairo_surface_snapshot_copy_on_write (cairo_surface_t *surface)
image->height,
0);
if (likely (clone->base.status == CAIRO_STATUS_SUCCESS)) {
- pixman_image_composite (PIXMAN_OP_SRC,
- image->pixman_image, NULL, clone->pixman_image,
- 0, 0,
- 0, 0,
- 0, 0,
- image->width, image->height);
+ pixman_image_composite32 (PIXMAN_OP_SRC,
+ image->pixman_image, NULL, clone->pixman_image,
+ 0, 0,
+ 0, 0,
+ 0, 0,
+ image->width, image->height);
clone->base.is_clear = FALSE;
snapshot->clone = &clone->base;