View Full Version : fullscreen mode OS X?

07-22-2001, 10:10 AM
how do i switch to fullscreen mode under MacOS X?
thanks in advance


DJ Tricky S
07-22-2001, 11:59 AM
I would try using QuickTime or DrawSprocket to switch to fullscreen.

07-31-2001, 02:47 PM
In Carbon, just use the AGL function aglSetFullscreen(). In Cocoa, try the NSOpenGLContext class.

Decimal Dave
08-03-2001, 07:25 AM
What about GLUT full screen for cross-platform projects? Is that supported on OS X? I've always had problems getting that to work...

08-06-2001, 01:36 PM
On OS X developer CD, look under GLUTExamples (installed in /Developer/Examples/GLUTExamples), specifically the gameGlut example (which is an Asteroids knock-off in 2D). It shows you can use glutEnterGameMode to get into full-screen mode. Here's some code I use:

glutGameModeString( "640x480:16@60" );
originalWindow = glutCreateWindow( "Kelch" );