Changing resolution while already in full-screen mode?
Okay, so I got a problem that I've been poking at for a couple days with no solution. Basically, I have an OpenGL project that goes into full-screen. No problems there. However, I'm having a bugger of a time trying to figure out how to change the monitor resolution again once I'm in full-screen mode. So say the user starts out at 1900 x 1200 and wants to lower the resolution down to 1024 x 768. I've figured out the calls that will set the monitor to this new resolution but my OpenGL context freaks out (and I am reshaping it to fit the new resolution) and pretty much draws garbage all over the screen. Do I have to create a new full-screen context or something? Am I skipping a critical step somewhere?
The brains and fingers behind Malarkey Software (plus caretaker of the world's two brattiest felines).
I seem to recall a code sample from Apple that did this. I think it was called Mode Whacker or something like that. Yeah, pretty sure you need an entirely new full screen context for every display mode.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| DPI and Resolution for Graphics | mickyg | 9 | 6,635 |
Apr 27, 2012 03:02 PM Last Post: Andres Calil |
|
| Changing Pixel Values using CG | LIPH700 | 1 | 3,758 |
Nov 25, 2010 03:17 PM Last Post: SethWillits |
|
| switching screen resolution | NelsonMandella | 3 | 2,909 |
Apr 25, 2010 01:33 PM Last Post: SethWillits |
|
| Full Screen OpenGL Crashes | Blacktiger | 13 | 6,532 |
Feb 19, 2009 02:39 PM Last Post: backslash |
|
| OpenGL full screen mode leaves garbage on screen when exiting app | Malarkey | 5 | 4,456 |
Nov 19, 2008 12:51 PM Last Post: Malarkey |
|

