Skip to content

Commit db7a2cb

Browse files
committed
1 parent 3519878 commit db7a2cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/gd/libgd/gd_interpolation.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,9 @@ static double filter_welsh(const double x)
634634
}
635635
#endif
636636

637+
638+
/* keep it for future usage for affine copy over an existing image, targetting fix for 2.2.2 */
639+
#if 0
637640
/* Copied from upstream's libgd */
638641
static inline int _color_blend (const int dst, const int src)
639642
{
@@ -666,6 +669,7 @@ static inline int _color_blend (const int dst, const int src)
666669
}
667670
}
668671
}
672+
#endif
669673

670674
static inline int getPixelOverflowTC(gdImagePtr im, const int x, const int y, const int bgColor)
671675
{

0 commit comments

Comments
 (0)