PDA

View Full Version : does anyone know how to toggle fullscreen on/off with glutFullScreen();?



04-11-2004, 04:39 AM
:confused: does anyone know how to toggle fullscreen on/off with glutFullScreen()?
i can only switch it to fullscreen. how do i switch it back?
Thanks.

Honk
04-11-2004, 06:50 AM
With glutReshapeWindow() and glutPositionWindow() of course.

Why does nobody read manuals anymore?

malancha
04-11-2004, 07:16 PM
The problem with calling glutReshapeWindow after a call to glutFullScreen is that the window decorations are lost. I too have this problem -- I can resize the window after going to fullscreen mode, but I can't get the decorations back. Does anyone know how to do this?