Jump to content
  • Advertisement

Archived

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

cody

win32 CreateBitmap?

This topic is 6052 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

how can i load a jpeg-file into a windows bitmap with type HBITMAP? i have decompressed the jpeg into rgb-data with libjpeg, then used CreateBitmap and it returns a handle. but when i want to draw it on screen i cant see anything! theres no fault in my drawing code, with other bitmaps it works. when i pass the decompressed data to opengl it works also without problems. what could i be doing wrong? or could somebody point me to a tutorial or post some code?

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!