View Full Version : full-screen mode

01-15-2001, 09:56 AM
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.

01-15-2001, 11:45 AM
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


01-15-2001, 07:59 PM
glutgamemode() is good for this! it changes the resolution AND fullscreens it http://www.opengl.org/discussion_boards/ubb/smile.gif... I like this better than a fullscreen at 1280x1024...

01-16-2001, 02:21 AM
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

01-16-2001, 03:49 AM
Hey ngill, how do you use the glutgamemode() function? is it in 3.7?

01-16-2001, 03:53 AM
You can put glutFullScreen(); in the main loop too.

01-16-2001, 04:48 AM
Yes glutGameMode is in glut 3.7.
You can find a tutorial here : http://www.dev-gallery.com/programming/opengl/index.htm

01-16-2001, 07:11 AM
OK, thanx