Jump to content
  • Advertisement


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

loading and drawing 16bit bmp files

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

Hi, I need help loading and drawing 16 bit bmp files! I have 8bit loader and draw code and I changed the BYTE* buffers to USHORT* and deleted the palette loading stuff of the code and did the lPitch << 2 thing but I still don''t get my Image to show on the Primary surface, I don''t even get a color mess! The image I''m trying to load is converted form 24bit to 16bit with MS-Paint and I''m using DirectDraw. If you can''t help me like this, do you know of a site where I could get the needed info? THX, Yours, Pedro

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!