]> granicus.if.org Git - graphviz/commitdiff
Remove redundant glutInit; note new command-line option
authorerg <devnull@localhost>
Thu, 19 Aug 2010 14:21:48 +0000 (14:21 +0000)
committererg <devnull@localhost>
Thu, 19 Aug 2010 14:21:48 +0000 (14:21 +0000)
cmd/smyrna/main.c

index 5e316eea18ac249d25333fdcef79bb510cc8d808..2e5de481336666b092cf87c52e04fdb8bd163c8f 100755 (executable)
@@ -90,6 +90,7 @@ char *smyrnaPath(char *suffix)
 }
 
 static char *useString = "Usage: smyrns [-v?] <file>\n\
+  -f<WxH:bits@rate>         - full-screen mode\n\
   -v         - verbose\n\
   -?         - print usage\n";
 
@@ -257,9 +258,6 @@ int main(int argc, char *argv[])
     view->initFileName = parseArgs(argc, argv, view);
     if(view->initFileName)
        view->initFile=1;
-#ifndef WIN32
-    glutInit(&argc, argv);
-#endif
 
     if(view->guiMode==GUI_FULLSCREEN)
        cb_glutinit(0,0,800,600,32,75,1,&argc,argv,view->optArg);