Section: C Library Functions (3)
- Resize the current window to cover the entire screen
OpenGLUT - window
Fn glutFullScreen void
The glutFullScreen() function resizes the window to cover the
entire screen and hide window decorations such as title bars
The desktop resolution is not affected by a call to glutReshapeWindow() or glutFullScreen().
The size of windows is ultimately determined by the windowing system. Therefore, a fullscreen request by an OpenGLUT application may not necessarily succeed or take immediate effect.
Not applicable to offscreen or subwindows.