Skip to main content
gamedev.net
🔒 Locked

setting screen resolution

Started by newbie_programmer 0 replies 900+ views
Original Post
newbie_programmer
newbie_programmer
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.
Arex
Arex
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]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.