cvs: php4 /ext/gd/libgd gd.c

From: Date: Sat, 14 Dec 2002 19:23:29 +0000
Subject: cvs: php4 /ext/gd/libgd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17222@lists.php.net to get a copy of this message
pajoye Sat Dec 14 14:23:29 2002 EDT Modified files: /php4/ext/gd/libgd gd.c Log: Do not allow AA if not trueColor (imageantialias does nothing) Index: php4/ext/gd/libgd/gd.c diff -u php4/ext/gd/libgd/gd.c:1.36 php4/ext/gd/libgd/gd.c:1.37 --- php4/ext/gd/libgd/gd.c:1.36 Wed Dec 11 17:23:51 2002 +++ php4/ext/gd/libgd/gd.c Sat Dec 14 14:23:29 2002 @@ -3189,7 +3189,9 @@ void gdImageAntialias (gdImagePtr im, int antialias) { - im->antialias = antialias; + if (im->trueColor){ + im->antialias = antialias; + } } void

« previous php.cvs (#17222) next »