Jump to content
  • Advertisement
Sign in to follow this  
Clement

Resolution switching problem.

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

Hello ! I have a problem when i swtich resolution of my graphic card with directx9 I'm switching resolution in the following way: 1. i delete all device dependant resources. 2. i call D3DDevice::reset() with the new desired display parameters. 3. I release the old device. 4. i recreate the new one with the new presente parameters. 5. i reload all the resources. When i debug the code, every directx fonction return a good value( S_OK) But during the execution of the fonction D3DDevice::Present(), ( to display my scene ) The debugger output of the debug version of dx tell me: INTERNAL_DRIVER_ERROR. BUT this fonction still return S_OK !!!! Can anybody help me in solving this problem ??? Because it's driving crazy !!! If you cannot help me, can you send me a piece of working code which change resolution ??? An other little question: Why if i simply delete the device, and the do the initialisation of the device again, resolution switching do not work ?? Thanks a lot. Have a nice day.

Share this post


Link to post
Share on other sites
Advertisement
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!