From 028993aacb9ec48aa9d347d0d189250b464cf30f Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann?= Date: Fri, 24 Aug 2007 16:49:29 -0400 Subject: [PATCH] Set accessors for the destination image in composite-test.c --- test/composite-test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/composite-test.c b/test/composite-test.c index cee9609..d6596f4 100644 --- a/test/composite-test.c +++ b/test/composite-test.c @@ -122,13 +122,14 @@ main (int argc, char **argv) src, WIDTH * 4); - pixman_image_set_accessors (src_img, reader, writer); - dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8, WIDTH, HEIGHT, dest, WIDTH * 4); + pixman_image_set_accessors (src_img, reader, writer); + pixman_image_set_accessors (dest_img, reader, writer); + pixman_image_composite (PIXMAN_OP_OVER, src_img, NULL, dest_img, 0, 0, 0, 0, 0, 0, WIDTH, HEIGHT); -- 2.7.4