static void Init( int argc, char *argv[] )
{
GLboolean convolve = GL_FALSE;
+ GLboolean fullscreen = GL_FALSE;
int i;
for (i = 1; i < argc; i++) {
else if (strcmp(argv[i], "-c")==0) {
convolve = GL_TRUE;
}
+ else if (strcmp(argv[i], "-f")==0) {
+ fullscreen = GL_TRUE;
+ }
}
+ if (fullscreen)
+ glutFullScreen();
/* Cylinder object */
{
glutKeyboardFunc( Key );
glutSpecialFunc( SpecialKey );
glutDisplayFunc( Display );
- glutIdleFunc( Idle );
+ if (Animate)
+ glutIdleFunc( Idle );
glutCreateMenu(ModeMenu);
glutAddMenuEntry("Toggle Highlight", DO_SPEC_TEXTURE);