Sign in to follow this  
richardmonette

Releasing Resources on Lost Device

Recommended Posts

I am currently having issues with getting my IDirect3DDevice9 to reset properly when the device is lost. I am fairly sure this is because Ive got a surface that isnt being released correctly. Are there any tools I can use to help find what resource(s) arent being freed correctly?

Share this post


Link to post
Share on other sites
Try checking the return value for the release calls and create a message box that has the information about what is being released, and show it if the release fails.

Share this post


Link to post
Share on other sites
Is it possible to check what resources are still being held at the time of a device being lost using PIX or the like?

The reason I ask is that I am working with Gamebryo/Scaleform and I think its something that they are holding internally that is not being released.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this