and add soem comments

SVN revision: 331
This commit is contained in:
Carsten Haitzler 1999-09-19 21:22:21 +00:00
parent 35467c71f4
commit 57400a679a
1 changed files with 5 additions and 0 deletions

View File

@ -122,6 +122,11 @@ load (ImlibImage *im,
/* 16bit color -> 8bit color */
png_set_strip_16(png_ptr);
/* 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__
png_set_swap_alpha(png_ptr);
#else