Archived

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

Resizes handled automatically by d3d? (dx8)

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