Archived

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

billybob

alt+tab badness

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
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