Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: fullscreen mode OS X?

Hybrid View

  1. #1
    Guest

    fullscreen mode OS X?

    how do i switch to fullscreen mode under MacOS X?
    thanks in advance

    winter

  2. #2
    Intern Contributor
    Join Date
    Aug 2000
    Location
    USA
    Posts
    99

    Re: fullscreen mode OS X?

    I would try using QuickTime or DrawSprocket to switch to fullscreen.

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2001
    Posts
    2

    Re: fullscreen mode OS X?

    In Carbon, just use the AGL function aglSetFullscreen(). In Cocoa, try the NSOpenGLContext class.

  4. #4

    Re: fullscreen mode OS X?

    What about GLUT full screen for cross-platform projects? Is that supported on OS X? I've always had problems getting that to work...
    --------
    "A Microsoft Certified Systems Engineer is to computing what a McDonalds Certified Food Specialist is to fine cuisine"
    --------

  5. #5
    Guest

    Re: fullscreen mode OS X?

    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:

    #ifdef KELCH_FULL_SCREEN
    glutGameModeString( "640x480:16@60" );
    glutEnterGameMode();
    #else
    originalWindow = glutCreateWindow( "Kelch" );
    #endif

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •