Let me say in advance that I haven't the slightest clue what's wrong
here,
and I've been banging my head against the wall for a few hours now;
so any help would be very greatly appreciated.
I have this application which I want to be able to switch between
full screen mode and windowed mode on command without
relaunching the app.
So I wrote up the code, but there's just this one problem. Whenever
I switch from windowed mode to FS mode I get a blank screen.
If I start the app initially in FS mode then the FS mode works OK.
I can then hit 'F' (the key I assigned for the task), to switch it to
windowed
mode. Hitting 'F' again should bring it back to FS mode, but instead
I just get a blank screen.
The code that sets up the fullscreen mode can be found here:
http://www.rutski89.com:31597/upload/fs.txt
Remember, it works on the first call, yet fails on the second;
and I just can't figure out why. By "fails" I don't mean a return
value of GL_FALSE, I just mean that the screen goes black.
-Patrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3109 (20080519) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com