Jump to content
  • Advertisement
Sign in to follow this  
hupsilardee

(D3D9): Managed resources not re-appearing after Reset() ?

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

I Reset() the device if F4 is pressed, toggling the fullscreen.
All my resources are loaded with the managed pool. I know vertex data is preserved, because meshes are still appearing with the correct shape, but for some reason, textures are disappearing. This only seems to happen when I load up a cube texture at the start of the game - without the skybox, other textures are restored correctly when fullscreen is toggled.

Anybody know what might be causing this?

Share this post


Link to post
Share on other sites
Advertisement
Solved. It was actually the DRAWING of the skybox that was causing problems. (Setting some shader constants which weren't reset for drawing meshes, making them appear black, which tricked me into thinking the textures were being lost).

Share this post


Link to post
Share on other sites
Sign in to follow this  

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