Jump to content
  • Advertisement


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


Resizes handled automatically by d3d? (dx8)

This topic is 6359 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, I noticed in the DX8 d3d tutorials, you can resize the window and nothing wrong appears to happen. The programs use backbuffers, and take no steps whatsoever to prepare for a window resize. In the Direct3D framework though (d3dapp.cpp), after the window is done being resized a new backbuffer is created etc. In d3dapp.cpp, when the d3d device is being created, they set the height and width of the backbuffer explicitly. The tutorial programs do not, so I was wondering, does d3d automatically set a size for them if you don''t specify one? Is there any reason for specifying a size? There doesn''t appear to be any problems, so I was wondering why the framework sets the size explicitly. Thanks, IceGod

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!