diff options
author | Pierre Joye <pajoye@php.net> | 2002-12-14 19:23:29 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2002-12-14 19:23:29 +0000 |
commit | 137beb12ca4ffbf0d8633543e62a97f269cdfc54 (patch) | |
tree | a2bc4d414bc68a650bdd4d93cc0f497c765120f6 /ext/gd | |
parent | 9455657a7a1eb36d4fdd1d98c51321912eb172a3 (diff) | |
download | php-git-137beb12ca4ffbf0d8633543e62a97f269cdfc54.tar.gz |
Do not allow AA if not trueColor (imageantialias does nothing)
Diffstat (limited to 'ext/gd')
-rw-r--r-- | ext/gd/libgd/gd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 96684eab6c..3eeeba7fec 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -3189,7 +3189,9 @@ gdImageAlphaBlending (gdImagePtr im, int alphaBlendingArg) void gdImageAntialias (gdImagePtr im, int antialias) { - im->antialias = antialias; + if (im->trueColor){ + im->antialias = antialias; + } } void |