ok i want load texture in my programme using open gl. i copied nehe tutorial for loading texture but i didn''t work in my programme. can somone please tell me a the shortest way to load a bmp and convert it to a texture?
Well to load textures it have to have an initialized OpenGL window and remember if U destroy the window and then re-create it again (in order to switch between fullscreen and windowed mode) your textures will be lost, so you''ll have to reload ''em again.
I think that NeHe''s code is pretty simple, if you still have problems, you can post your texture-loading-function.