Hi,
I’m using linux with a GeForce2MX running with the latest nvidia drivers and I’m quite new to openGL/Glut programming ?
My problem is that I can’t enter fullscreen mode at the resolution I’d want to.
Here is my code to initialize my program:
int main (int argc, char *argv[])
{
glutInit (&argc, argv);
glutInitDisplayMode(GLUT_DEPTH | GLUT_RGB | GLUT_DOUBLE);
glutGameModeString(“640x480:16”);
if (glutGameModeGet(GLUT_GAME_MODE_POSSIBLE))
glutEnterGameMode();
else
{
glutCreateWindow(“Blah blaah”) ;
glutFullScreen();
}
…
The problem is no matter what resolution I request for the gamemode, it never wants to get into it.
Why could be the reason for that ?
[This message has been edited by goldangel (edited 08-10-2002).]