I just searched GameDev and couldn't find anything relevant so I'll ask here, surely someone knows: what does a D3D9 program have to do on a task switch? I remember checking for lost surfaces in DirectDraw and having a restoreAll() function that reloads all the game resources. What is the equivalent in D3D?
I need to know how to find out that stuff needs restoring and then what things probably need to be done (like reloading textures and so on). Any help is appreciated. I guess the samples have the code I need but I prefer not to dig through them if I can avoid it
I need to know how to find out that stuff needs restoring and then what things probably need to be done (like reloading textures and so on). Any help is appreciated. I guess the samples have the code I need but I prefer not to dig through them if I can avoid it