OpenGL; Using TGA Textures
I've been following the NeHe OpenGL tutorials and have gotten as far as loading TGA images and converting them to textures. Everything goes well - the loader works fine - but I don't know how to actually make use of the texture.
I can't use glBindTexture (GL_TEXTURE_2D, Textures); because the second argument isn't a GLuint (it's a user defined struct "TGAImage").
The most annoying thing is he's shown you how to load the TGA but not how to use it - can anyone help me?