forked from old/legacy-imlib2
parent
35467c71f4
commit
57400a679a
|
@ -122,6 +122,11 @@ load (ImlibImage *im,
|
||||||
/* 16bit color -> 8bit color */
|
/* 16bit color -> 8bit color */
|
||||||
png_set_strip_16(png_ptr);
|
png_set_strip_16(png_ptr);
|
||||||
/* we want ARGB */
|
/* we want ARGB */
|
||||||
|
/* note form raster: */
|
||||||
|
/* thanks to mustapha for helping debug this on PPC Linux remotely by */
|
||||||
|
/* sending across screenshots all the tiem and me figuring out form them */
|
||||||
|
/* what the hell was up with the colors */
|
||||||
|
/* now png loading shoudl work on big endian machines nicely */
|
||||||
#ifdef __BIG_ENDIAN__
|
#ifdef __BIG_ENDIAN__
|
||||||
png_set_swap_alpha(png_ptr);
|
png_set_swap_alpha(png_ptr);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue