X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5550f66bce699411f27ba748a584697afa9d981a..bad6c5e264fe9a7ac9e931d071d72acdabb3401e:/src/common/imagpng.cpp diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index 33c53657d8..83446867ad 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -689,9 +689,6 @@ bool wxPNGHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbos ? image->GetOptionInt(wxIMAGE_OPTION_PNG_BITDEPTH) : 8; - wxASSERT_MSG( iBitDepth == 8 || iBitDepth == 16, - _T("PNG bit depth must be 8 or 16") ); - bool bHasAlpha = image->HasAlpha(); bool bHasMask = image->HasMask(); bool bUseAlpha = bHasAlpha || bHasMask;