From: handa Date: Tue, 17 Jan 2006 04:06:15 +0000 (+0000) Subject: (main): Use gdImageAlphaBlending only if HAVE_GD > 1. X-Git-Tag: REL-1-3-1~2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=27aa2d5eb28c8b2074abe847e6788211d9208607;p=m17n%2Fm17n-lib.git (main): Use gdImageAlphaBlending only if HAVE_GD > 1. --- 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 {