Jump to content
  • Advertisement

Archived

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

KurtCPP

Lost devices in DX8.

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

Hi everyone. Would someone be kind enough to tell me how exactly one has to retrieve a lost device in Direct3D8 and if there are other things to do (eg. device verifications in Render())?? I think a mere sample code or even a nice URL should do it, so don't bother to give too much explanations if you dont feel like. Thanks to all in advance. BTW, could someone also explain to me how you could put a kind of transparent vail(I dont know whether its the right word), like a curtain on the whole screen, like the one you can see in ChronoCross while the game is paused. I assume I'll have to retrieve the picture already displayed and put my "transparent curtain" on top of it, but I got no clue as how I gotta proceed. Thanks again for your help. Prog, Sex & Rock'n'Roll : I don't like the Prog but the prog likes me. [edited by - KurtCpp on June 19, 2003 2:26:34 PM]

Share this post


Link to post
Share on other sites
Advertisement
First you have to call Reset() on the device. Then you have to reload all your resources that were stored in graphics card memory (i.e. everything that wasn''t created with D3DPOOL_MANAGED).


-dizzy
Game Institute Intern

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!