What hardware/OS are you running on? We've seen this issue as well
(well, using the equivalent CGL function) on 10.5.2 with ATI R500 and
R600 cards. We filed rdar://5787567 about it. In our case, you
could sometimes work around it by turning off VSync (disabling
kCGLCPSwapInterval), but that didn't work all the time.
On May 19, 2008, at 10:21 AM, Patrick Rutkowski wrote:
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.
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/jason%
40transgaming.com
This email sent to email@hidden
Jason Green
Developer, TransGaming, Inc.
email@hidden
_______________________________________________
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