Jump to content
  • Advertisement

Archived

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

DBX

DDraw 5 surface restoration

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

This is for DirectDraw version 5. Annoyingly, most surface methods (i.e. blit) can return DD_SURFACELOST if the surface gets lost, and then I have to restore them and write the data back. But what are the circumstances for this to happen. I would assume it only happens to surfaces in video memory and NEVER to surfaces in system memory. Is this a correct assumption? It would save memory if I only had to save a backup of surfaces that are in video memory.

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!