DDraw 5 surface restoration
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.
quote:Is this a correct assumption ?
Yes.
--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement