full-screen mode

i wonder if exists some way to swiych to full-screen mode. now i have to maximize the window and make its style to None (without taskbar). i heard that graphics works well in full screen.

Yes u r write the graphics r better and run faster in fullscreen mode.

to make full screen if u r using glut all u do is add glutFullScreen; in at the initialisation part of your code.

however it is abit harder if u r using win32 in which case i sudgest u look at the first tutorial on the nehe site http://nehe,gamedev.net

Zee

glutgamemode() is good for this! it changes the resolution AND fullscreens it … I like this better than a fullscreen at 1280x1024…

Nehe’s tutorial 1 explains how to change resolution and switch to fullscreen mode w/ the Win32 API. http://nehe.gamedev.net/tutorials/lesson01.asp

Hey ngill, how do you use the glutgamemode() function? is it in 3.7?

You can put glutFullScreen(); in the main loop too.

Yes glutGameMode is in glut 3.7.
You can find a tutorial here : http://www.dev-gallery.com/programming/opengl/index.htm

OK, thanx