Jump to content
  • Advertisement

Archived

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

aaroncox1234

Resizing Back Buffer when Window is Resized

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

im currently using directx 8.1. can anyone give me help on resizing the back buffer when my window is resized? i want to stop directx from squishing everything when the window is resized. instead, i''d like it to behave like most windows and keep everything the same size when the window is resized. is resizing the back buffer even the right thing to do? thanks

Share this post


Link to post
Share on other sites
Advertisement
To resize the backbuffer, use device->Reset. It takes present parameters, so you can store the ones you used to create the device and just tweak the size.

NOTE:When resetting the device all non-Managed resources need to be recreated.

Stay Casual,

Ken
Drunken Hyena

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!