From: erg Date: Thu, 19 Aug 2010 14:21:48 +0000 (+0000) Subject: Remove redundant glutInit; note new command-line option X-Git-Tag: LAST_LIBGRAPH~32^2~1227 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08e79a3d5481a16e95260a0662dacd4ba6ee5503;p=graphviz Remove redundant glutInit; note new command-line option --- diff --git a/cmd/smyrna/main.c b/cmd/smyrna/main.c index 5e316eea1..2e5de4813 100755 --- a/cmd/smyrna/main.c +++ b/cmd/smyrna/main.c @@ -90,6 +90,7 @@ char *smyrnaPath(char *suffix) } static char *useString = "Usage: smyrns [-v?] \n\ + -f - 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);