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

DDraw 5 surface restoration

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