diff options
-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 cff22915a0..4ae2488b1c 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -1787,6 +1787,9 @@ void gdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color) leftLimit = i; } if (leftLimit == -1) { + if (restoreAlphaBleding) { + im->alphaBlendingFlag = 1; + } return; } /* Seek right */ @@ -1834,7 +1837,6 @@ void gdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color) if (restoreAlphaBleding) { im->alphaBlendingFlag = 1; } - } /* |