🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

it want load textures :(

Started by
0 comments, last by hello_there 22 years, 6 months ago
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?
____________________________________________________________How could hell be worse?
Advertisement
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.

good luck

This topic is closed to new replies.

Advertisement