Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

gowron67

Loading Bitmaps...

This topic is 5801 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m just wondering if anyone has ever encountered a problem like this.... Sometimes when I load a BMP file, and create an OpenGL texture from it, I get a exception in the opengl driver when I try to use it. If I then load up the bitmap, and resave it without making any changes, it works fine. At first I thought it was a corrupt bitmap header or something, but after a lot of debugging, I don''t think that this is the case. It seems strange that just loading the file into something as simple as Windows Paint and then resaving can solve this problem.

Share this post


Link to post
Share on other sites
Advertisement
1st:Are you using your own BMP loader?
2nd:Compare by content the "corrupted" bmp with resaved.


Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!