Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Thomas

Change Resolution Problem

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

Hi All! I am developing a 3D Engine with DirectX and there is a problem in changing the resolution. When I have chosen the resolution, then my engine will destroy all DirectDraw and Direct3D object such as Z-Buffer, front-buffer, DirectX object etc. After that, my engine will re-create them and it is succeed, but a error D3DERR_ZBUFFER_NOTPRESENT have returned when the model is render??? How can I solve this? Thank a lot!!! Please help me!! Thomas

Share this post


Link to post
Share on other sites
Advertisement
I am sure that my engine has done it! It is because creation and re-creation are used the same function!

Thomas

Share this post


Link to post
Share on other sites
I had similar problems when I started programming DirectDraw - the easiest solution is to SetDisplayMode, and then create your surfaces. This eases the headaches.

TheTwistedOne
http://www.angrycake.com

Share this post


Link to post
Share on other sites

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