[HOpenGL] game mode

Sven Panne Sven.Panne@informatik.uni-muenchen.de
Sun, 17 Mar 2002 20:34:41 +0100


Andre W B Furtado wrote:
 > It is said in GLUT_Game.hs that: "gameMode is highly untested because it
 > currently only works with WinDoze". Is this true for every (OpenGL + GLUT)
 > API?

As far as I can tell from the GLUT sources, the game mode stuff works only
with WinDoze and is basically a no-op on other platforms. This has nothing
to do with HOpenGL, it's GLUT itself which is incomplete.

 > [...] In HOpenGL, however, there is a function called "gameMode" but I can't
 > use it, since the type of its parameter is not exported by module GLUT_Game.
 > Am I missing something obvious? [...]

Ooops, this is just a plain oversight: Simply add GameModeCapability and
GameModeSetting to the export list of GLUT_Game.gc.in.

Cheers,
    S.