
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? BTW, I'm having some difficulty in trying to make this stuff work: In OpenGL, we only need to set a string (such as "640x480:8@60") and use it as a parameter to glutGameModeString. 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? Can anyone tell me me how to set my game mode correctly? Thanks a lot, -- Andre

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.
participants (2)
-
Andre W B Furtado
-
Sven Panne