Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

RaistlinLives

XP problem

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

I''ve recently changed from windows 98 to XP only to find that the project I was working on no longer runs correctly. Both computers run at 1024x768(think that''s right), and the program runs at 800x600. For some strange reason, in XP the program doesn''t change to 800x600 and stays at the desktop resolution, leaving about 1/3 of the screen(right and bottom) unused. I''m changing the res. in DirectDraw with this: lpdd->SetDisplayMode(800, 600, 24, 0, 0); Is there any reason why this wouldn''t work, or is the problem elsewhere?

Share this post


Link to post
Share on other sites
Advertisement
I''m ashamed to say I never thought of the bpp as a possible source for the error. However, after reading your post, I made the change and it did the trick.

Thanks!

Share this post


Link to post
Share on other sites

  • 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!