PDA

View Full Version : PNG problem



09-10-2001, 07:23 AM
It seems like all pngs that i load that have a width less then 100 pixels become corrupted... Anyone experienced this? What could be the problem?

Im using "PNG loader library for OpenGL v1.45 (10/7/2000)"

can be downloaded at http://www.wyatt100.freeserve.co.uk/download.htm

09-10-2001, 09:50 AM
Already fixed it... it was GL_UNPACK_ALIGNMENT that appearently defaults to 4... Didnt think of that.