Archived

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

FrozenFlames

Restoring the display in dx8

Recommended Posts

FrozenFlames    122
i have problem restoring the display after switching windows b/w my program and the desktop can any one have an idea how to use Reset function and how to clear and restore the display memory

Share this post


Link to post
Share on other sites
Yaskil    122


you can use LPDIRECTDRAWSURFACE::Restore() function to reallocate memory for your surfaces. This function knows the properties of surface, this means it is not needed to fill DDSURFACEDESC structure again.
YASKIL

Share this post


Link to post
Share on other sites