aboutsummaryrefslogtreecommitdiff
path: root/pixman/demos/srgb-test.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-08-13 10:09:30 +0200
committermarha <marha@users.sourceforge.net>2012-08-13 10:09:30 +0200
commit9ddf44af81782451cee798e06749ce3067a14a41 (patch)
treef84b06f6897929113f080d8e505621fa6bf73fb9 /pixman/demos/srgb-test.c
parentf8e35ebbe71eed74ccf68af8ccda4182f1edc7f0 (diff)
downloadvcxsrv-9ddf44af81782451cee798e06749ce3067a14a41.tar.gz
vcxsrv-9ddf44af81782451cee798e06749ce3067a14a41.tar.bz2
vcxsrv-9ddf44af81782451cee798e06749ce3067a14a41.zip
mesa pixman xkeyboard-config xserver git update 13 Aug 2012
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);