Moz
12-22-2000, 06:32 AM
Hi,
I've got an old Guillemot Maxi Gamer voodoo 1 as my 3D card.
I tried to run an OpenGL program using glut on this card.
I use glut 3.7 and this piece of code :
glutGameModeString("640x480:16@60");
if (glutGameModeGet(GLUT_GAME_MODE_WIDTH) != -1) // if the width is different to -1
{
glutEnterGameMode();
...
When the glutEnterGameMode function is called (I see that with my debugger), the screen resolution is changed.
Then, after a short moment, the screen goes back to its original settings and the program is terminated before anything has been drawn (the code after glutEnterGameMode is not executed).
Does anyone know what's happening (and maybe how I can use this card to display fullscreen OpenGL).
Thx
Moz
I've got an old Guillemot Maxi Gamer voodoo 1 as my 3D card.
I tried to run an OpenGL program using glut on this card.
I use glut 3.7 and this piece of code :
glutGameModeString("640x480:16@60");
if (glutGameModeGet(GLUT_GAME_MODE_WIDTH) != -1) // if the width is different to -1
{
glutEnterGameMode();
...
When the glutEnterGameMode function is called (I see that with my debugger), the screen resolution is changed.
Then, after a short moment, the screen goes back to its original settings and the program is terminated before anything has been drawn (the code after glutEnterGameMode is not executed).
Does anyone know what's happening (and maybe how I can use this card to display fullscreen OpenGL).
Thx
Moz