Hi!
I have tried to write a texture loader that loads PNG and TGA images into an opengl texture, the TGA loader failed and i thought my code was doin it wrong, but then i tried to write a PNG loader, and it came with the same annoying result:
A blue quad with no texture, =/
I would REALLY be glad if someone would check my code and see if it is something obvious thats missing.
http://m68k.se/ogl/textures.h <– where the loader is, this is where the magic happens
http://m68k.se/ogl/main.c <- the main opengl funcs are located here.