DirectDraw setDisplayMode

Started by
4 comments, last by random_guy 23 years, 1 month ago
How do i set the display mode to 1024x786 fullscreen using directdraw? i''ve been trying this out using the samples from ms but it will only allow resolutions of 800x600 and 640x480. i''m using a matrox g200 and a 19" screen so the hardware should be fine. any help would be great. thanks.
Advertisement
Its 1024 x 768
yea, typo
I would enumerate through the display modes supported first to verify that DirectX is picking up the 1024x768 display mode.
thanks all, i found out i''m just a big dumb ass that made a typo. it was 786 not 768. works fine now
Its no biggy, I spent days working on the new landscape code for the revision of my 3D engine, and the bug was putting a minus in the wrong place.

This topic is closed to new replies.

Advertisement