xboxscene.org forums

Author Topic: Screen Size  (Read 71 times)

Wishi

  • Archived User
  • Full Member
  • *
  • Posts: 191
Screen Size
« on: March 02, 2004, 07:02:00 AM »

Well, when creating your D3D device you choose the backbuffer resolution based upon whether it's PAL/NTSC, 50Hz, 60Hz etc.

There's a list of all possible backbuffer resolutions in the XDK docs.
Logged

p0pp

  • Archived User
  • Newbie
  • *
  • Posts: 13
Screen Size
« Reply #1 on: March 02, 2004, 07:15:00 AM »

QUOTE
D3DDISPLAYMODE mode;
D3DDevice::GetDisplayMode( &mode );

Width and height is stored in mode.Width and mode.Height, respectively.


Thanks for your help....... Should have know to look there.  wink.gif
Logged