mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
18a9ae412f
Firstly, we must not call `gdImageSetAntiAliased()` (which sets the color to anti-alias), but rather modify the `gdImage.AA` flag. Furthermore, we have to actually use the supplied boolean value. We also make sure that we don't attempt to enable anti-aliasing for palette images.