• Advertisement

Archived

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

Bitmat Format Help

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

Hello everyone. Im writing a program that uses the sprite class found in "the zen of direct3d game programming" book. I have initialized my app to run in 32 bit color using the following format: D3DFMT_A8R8G8B8 My problem is that when I go to load bitmaps, it doesn''t work and says something like "CopyRect source format is different from destination" I know that copyrect requires the surface formats to be the same, but how do I save my bitmaps in this format. In photoshop I can only save bitmaps as 24 bits and that doesn''t work. I tried using the directx texture tool to open up the image and change the format, but that just corrupts it so that it can''t even be parsed. Any suggestions? Thanks, Chris Lynch

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement