Advertisement Jump to content
Sign in to follow this  
hupsilardee

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

This topic is 2242 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!