glutSpecialFunc( SampleSpecial );
glutIdleFunc( SampleIdle );
glutAttachMenu( GLUT_LEFT_BUTTON );
+ glutSetMenu(subMenuA);
+ glutAttachMenu( GLUT_RIGHT_BUTTON);
printf( "Testing game mode string parsing, don't panic!\n" );
glutGameModeString( "320x240:32@100" );
glutReshapeFunc( SampleReshape );
glutKeyboardFunc( SampleGameModeKeyboard );
glutIdleFunc( SampleIdle );
- glutAttachMenu( GLUT_LEFT_BUTTON );
printf( "current window is %ix%i at (%i,%i)\n",
glutGet( GLUT_WINDOW_WIDTH ), glutGet( GLUT_WINDOW_HEIGHT ),