Skip to main content
GameDev.net gamedev.net
🔒 Locked

changing resolution

Started by daniel_i_l Jun 11, 2006 at 12:29 AM 1 replies 500+ views
Original Post
daniel_i_l
daniel_i_l
Lets say I start the program with a resolution of 480X640, is there a way to change it to lets say 600X800. I mean, is there something like a reverse viewport function that instead of returning the resolution changes it? Is there another way? Thanks.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the internet, we know this is not true." -- Professor Robert Silensky
wendigo23
wendigo23
Resolution changes are handled via the operating system, not openGL. ChangeDisplaySettings & SetWindowRect on windows.
daniel_i_l
daniel_i_l
Ok, so how would I do t using the Windows api (win32)? Thanks.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the internet, we know this is not true." -- Professor Robert Silensky

Topic Locked

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

Sign in to reply to this topic.