Advertisement Jump to content
Sign in to follow this  
nkshs

About windowed mode resizing

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

Thats probably a common question, but the forum search feature isnt working so i have to ask it again: I noticed that in windowed mode Direct3D handles window resizing with the effect of scaling everything on the screen. I'm more on 2D graphics in screen space coordinates and this effect is undesireable for me. Is there a way to disable that scaling without disabling window resizing?

Share this post


Link to post
Share on other sites
Advertisement
You'll probably have to recreate the device with the updated client rectangle any time this happens.

Share this post


Link to post
Share on other sites
Yes, you must reset your device(with new presentation parameters) when the window is resized.

EDIT: beaten..

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!