From 27aa2d5eb28c8b2074abe847e6788211d9208607 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 17 Jan 2006 04:06:15 +0000 Subject: [PATCH] (main): Use gdImageAlphaBlending only if HAVE_GD > 1. --- example/mdump.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/mdump.c b/example/mdump.c index 087f117..97ee4d4 100644 --- a/example/mdump.c +++ b/example/mdump.c @@ -741,7 +741,9 @@ main (int argc, char **argv) else bg_rgb = gdImageColorAllocate (image, 255, 255, 255); gdImageColorTransparent (image, bg_rgb); +#if HAVE_GD > 1 gdImageAlphaBlending (image, 0); +#endif } else { -- 1.7.10.4