Advertisement

Game GLUT Lesson #1

Started by March 12, 2003 10:44 PM
1 comment, last by inrecovery 21 years, 11 months ago
I have the following doubts about the GLUT Tutorial #1: 1)What exactly is the difference between the *gaming* mode and the *fullscreen* mode? 2)Another question which stems from the above is: what is the need to maintain seperate variables to maintain the users choice?If in the gaming mode, we are already operating in fullscreen mode, then, why not set the g_fullscreen variable to the same value as the g_gamemode? I am racking my brains real hard about this,... but no luck! "Recovering Thinker" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I've learned that you can get by on charm for about fifteen minutes. After that, you'd better have a big willie or huge boobs. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [edited by - inrecovery on March 12, 2003 11:45:00 PM]
Gamemode -> switches screen resolution
Fullscreen -> maximizes a borderless window
Advertisement
I get it.
Please comment on the following:
1) Does this mean that the game mode and the full screen mode exist independent of one another? THat is to say that one cannot be in BOTH fullscreen and game mode at the same time.
2)Using glut, there is no need to change display resolutions etc as is the case with WIN32 API and the function glutFullScreen() wil handle this for us?
3)If you are in fullscreen mode, one can switch to windowed mode and vice versa but the same is not true in game mode?

This topic is closed to new replies.

Advertisement