mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 13:55:36 +08:00
[swift] fix for when using the latest libpng
This commit is contained in:
@@ -908,7 +908,7 @@ int CreateBitmapFromPNG(const char * inFilePath, struct ImageInfo * outImageInf
|
|||||||
if (png_sig_cmp(png_current_pos,0,8)) goto bail;
|
if (png_sig_cmp(png_current_pos,0,8)) goto bail;
|
||||||
|
|
||||||
png_set_interlace_handling(pngPtr);
|
png_set_interlace_handling(pngPtr);
|
||||||
if(setjmp(pngPtr->jmpbuf))
|
if(setjmp(png_jmpbuf(pngPtr)))
|
||||||
{
|
{
|
||||||
goto bail;
|
goto bail;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user