Jump to content
  • Advertisement

Archived

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

sirSolarius

Changing the resolution?

This topic is 5354 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 want to allow the user to select a screen resolution, and then I want to set the window to that resolution. I''ve tried searching, but I''m still confused... how is this done?

Share this post


Link to post
Share on other sites
Advertisement
aye, look at NeHe''s base code, it can do windowed and fullscreen mode (which i guess is what you are after)

Setting the screen/window sizes isnt down to opengl, its upto the window manager for the platform to do (assuming you are on windows that would be the win32 api, or if you want to make your life easier something like freeglut or sdl)

Share this post


Link to post
Share on other sites
quote:
Original post by _the_phantom_
aye, look at NeHe''s base code, it can do windowed and fullscreen mode (which i guess is what you are after)



It''s not an issue of windowed/fullscreen mode, but rather windowed/fullscreen at 600x800x16/600x800x32/1024x768x32.... etc.

I can resize the window, but I don''t know how to change the actual pixel resolution.

I''m in Windows, btw.

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!