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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to