Originally posted by ToddAtWSU:
I know the code is working because I can load POT textures and have no problem displaying them in the same program.
This does not forcelly mean your loading code also works with NPOT textures. Sometimes, such codes might be a little tricky. So have a deep look at it.
I can’t think of any other things for the moment.
You may have to change your pixel alignment if your texture sizes don’t fall in a 4byte alignment… for NPOT textures
glPixelStoref(GL_UNPACK_ALIGNMENT, 1);
HTH
mars_9999 : as I said above, but nobody may have noticed
Originally posted by ZbuffeR:
mars_9999 : as I said above, but nobody may have noticed
Whoops! I just looked above a few posts and seen it. My bad.
Thanks for all your help! I willkep this information in mind in the future!!!