Jump to content
  • entries
    422
  • comments
    1540
  • views
    490574

I love debugging

Sign in to follow this  
jollyjeffers

88 views

Bug Fix 1: Device destroyed and not correctly recreated
When switching to the REFRAST nothing was displayed. This was simply because there was nothing to render. My code handled the lost device scenario just fine, but I'd overlooked the complete changing of a device. That is, going from HAL->REF was a destroyed and recreated device. Destroying the device released all the resources, but creating the device didn't load the scene (again). Thus moving the LoadSceneFromXML() statement from application initialization to OnCreateDevice() solved that.

So at this point, I have an (ATI) hardware rendering that looks as I want it to, but switching to REF makes it look the same as the Nvidia output. Score 1 for Nvidia - they're the ones who're behaving correctly [oh]
Sign in to follow this  


1 Comment


Recommended Comments

Glad to see things are (sort of) getting brighter - no pun intended :p

Share this comment


Link to comment

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