Click to See Complete Forum and Search --> : How to restore images, animation after minimize using DirectX ?


rogerwux
May 28th, 2008, 10:49 AM
I was wondering is there anybody knows how to restore images.animation, etc after minimizing ? Especially when running games things.

I was current using the following codes, but it does not work:

// Check for lost surfaces.
if (ddFrontBuff->IsLost ())
{
ddFrontBuff->Restore ();
}
if (ddBackBuff->IsLost ())
{
ddBackBuff->Restore ();
}

Any ideas, thanks