]> icculus.org git repositories - divverent/darkplaces.git/commit
fixed a bug with png loading on x86_64 platforms caused by libpng retardedness (it...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 18 Feb 2007 11:53:09 +0000 (11:53 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 18 Feb 2007 11:53:09 +0000 (11:53 +0000)
commitf90ac6055e694fc3cbf22fc0b70f26d54aa07883
tree543811a8e81f40271036b3eb28cd52596e0f7122
parent6d27ef6434ae23b098e2d2db418db65e58753fff
fixed a bug with png loading on x86_64 platforms caused by libpng retardedness (it defines png_uint_32 as unsigned long, which is 64bit on such architectures, AND to make it worse this can be modified in pngconf.h on a per platform basis, so we detect the problem on big endian 64bit architectures and fix it there too)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6849 d7cf8633-e32d-0410-b094-e92efae38249
image_png.c