aboutsummaryrefslogtreecommitdiff
path: root/pixman/demos/srgb-test.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-08-13 10:11:17 +0200
committermarha <marha@users.sourceforge.net>2012-08-13 10:11:17 +0200
commitf5a4fa87e844b3ea2658a2355a4c4ac3393a65a1 (patch)
tree921a5a742930124e7bd7e9a7e73f6029bd74338d /pixman/demos/srgb-test.c
parentec4051f308e8e84146e0ecc39b6d228e500e9636 (diff)
parent9ddf44af81782451cee798e06749ce3067a14a41 (diff)
downloadvcxsrv-f5a4fa87e844b3ea2658a2355a4c4ac3393a65a1.tar.gz
vcxsrv-f5a4fa87e844b3ea2658a2355a4c4ac3393a65a1.tar.bz2
vcxsrv-f5a4fa87e844b3ea2658a2355a4c4ac3393a65a1.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'pixman/demos/srgb-test.c')
-rw-r--r--pixman/demos/srgb-test.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/pixman/demos/srgb-test.c b/pixman/demos/srgb-test.c
index bc073491e..681d52181 100644
--- a/pixman/demos/srgb-test.c
+++ b/pixman/demos/srgb-test.c
@@ -79,15 +79,6 @@ main (int argc, char **argv)
pixman_image_unref (src1_img);
free (src1);
- pixman_image_unref (dest_img);
-
- /* Now that the picture has been correctly constructed,
- * we hand it over to our support library as argb which it
- * knows how to handle (it doesn't understand _sRGB format). */
- dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8,
- WIDTH, HEIGHT,
- dest,
- WIDTH * 4);
show_image (dest_img);
pixman_image_unref (dest_img);
free (dest);