Jump to content
  • Advertisement

Archived

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

billybob

alt+tab badness

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

after an alt-tab, should i reload EVERYTHING? or just textures. i was thinking about if an alt-tab was detected, execute the clean up routine, that releases everything, then completely re-init. because i''m not sure what to reload and what not to.

Share this post


Link to post
Share on other sites
Advertisement
Supposedly you dont need to reload things that were allocated with D3D_POOLMANAGED (or something like that) But I allways reload everything. Textures, Vertex buffers, anything that''s allocated by d3d. You also need to reset the render state of your device. Set all your texture stages etc.

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!