X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d26d975463cc7b55bc9304acedede97e47f459d2..4455332266b332ca005c3430234f9a2b372b5764:/src/common/imagpng.cpp diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index 892b129e48..f0801e3dcb 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -75,7 +75,8 @@ enum Transparency // have transparent pixels, i.e. either Transparency_Alpha or Transparency_Mask static Transparency CheckTransparency(const unsigned char *ptr, - png_uint_32 x, png_uint_32 y, png_uint_32 w, png_uint_32 h); + png_uint_32 x, png_uint_32 y, png_uint_32 w, png_uint_32 h, + size_t numColBytes); // init the alpha channel for the image and fill it with 1s up to (x, y) static unsigned char *InitAlpha(wxImage *image, png_uint_32 x, png_uint_32 y);