From: Matthew Fernandez Date: Wed, 21 Dec 2022 05:36:49 +0000 (-0800) Subject: smyrna: remove unused 'edgerendertype' X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=429c95e3b28c021f2f183db08d1b023002a16f0b;p=graphviz smyrna: remove unused 'edgerendertype' --- diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 9327f98dd..1aa39bcd7 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -432,7 +432,6 @@ typedef struct mouse_action_t* mouse_actions; /*customizable moouse interraction list*/ size_t mouse_action_count; refresh_filter refresh; - int edgerendertype; float nodeScale; int guiMode; char* optArg; diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 3a5c34f09..9880728ee 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -214,8 +214,6 @@ void set_viewport_settings_from_template(ViewInfo *vi, Agraph_t *g) { vi->colschms = create_color_theme(atoi (get_attribute_value("colortheme", vi, g))); - vi->edgerendertype=atoi(get_attribute_value("edgerender", vi, g)); - if (vi->graphCount > 0) glClearColor(vi->bgColor.R, vi->bgColor.G, vi->bgColor.B, vi->bgColor.A); //background color @@ -384,7 +382,6 @@ void init_viewport(ViewInfo * view) view->refresh.pos=1; view->refresh.selection=1; view->refresh.nodesize=1; - view->edgerendertype=0; if(view->guiMode!=GUI_FULLSCREEN) view->guiMode=GUI_WINDOWED;