PDA

View Full Version : Problem with GlutGameMode



Mnemno
07-26-2001, 01:10 PM
Hi
I need help with the "GlutGameMode"
I use it to Enter the Fullscreen mode.
After I left the Game mode "LeaveGameMode"
Windows told me that something went wrong.
It is only an small Program becouse I only
want to test this mode.
If you like to try it on your System here are
the Links:

The Programm:
http://mnemno.bei.t-online.de/dwlod/mnemno.zip

The Code:
http://mnemno.bei.t-online.de/dwlod/Source.zip

Please let me know if somebody can figured out what
is going worng in my Program.

thanks a lot -< bye >- Mnemno

Rob The Bloke
07-26-2001, 01:48 PM
Yup, you leave game mode, but you dont leave the program. Either

a: put exit(0); after the glutLeaveGameMode()

or

b: go back into a window.

Mnemno
07-26-2001, 02:20 PM
thanks a lot it works well now !!!!

http://www.opengl.org/discussion_boards/ubb/smile.gif