Jump to content
  • Advertisement
Sign in to follow this  
newbie_programmer

setting screen resolution

This topic is 4491 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, sorry if this sounds like a very beginner question. I am using DirectX 9.0c and VC++ to program a game. How do i set the screen resolution to 1024 * 768. Plz help me out here. Thank for any help.

Share this post


Link to post
Share on other sites
Advertisement
In windowed mode, just resize your window. In fullscreen you need to setup your D3DPRESENT_PARAMETERS right, BackBufferWidth & BackBufferHeight. :)

Edit : I wrote it in a hurry : you'll have to do the same thing in windowed mode as in fullscreen, but in fullscreen you don't need to resize your window. Sorry! :)

[Edited by - Arex on July 5, 2006 2:57:03 AM]

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.

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!