From bc1ee008296cd7c41ecd5657e2980ac1de56805c Mon Sep 17 00:00:00 2001 From: arif Date: Wed, 17 Mar 2010 13:54:11 +0000 Subject: [PATCH] opengl dots shape are now rounded --- cmd/smyrna/topfisheyeview.c | 2 -- cmd/smyrna/viewport.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/smyrna/topfisheyeview.c b/cmd/smyrna/topfisheyeview.c index a39d055d9..7eee94acc 100644 --- a/cmd/smyrna/topfisheyeview.c +++ b/cmd/smyrna/topfisheyeview.c @@ -428,7 +428,6 @@ void drawtopfishnodes(topview * t) tarColor.B = view->Topview->fisheyeParams.tarColor.B; - glEnable(GL_POINT_SMOOTH); /*turn this off to make points look square */ //draw focused node little bigger than others /* ex_vtx_data *gg = hp->geom_graphs[0]; if ((gg[v].active_level == 0) &&(v==t->fisheyeParams.fs->foci_nodes[0]))*/ @@ -590,7 +589,6 @@ void drawtopfishedges(topview * t) } } glEnd(); - glDisable(GL_POINT_SMOOTH); } diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index b9d65f953..1de0b87bb 100755 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -183,6 +183,7 @@ void set_viewport_settings_from_template(ViewInfo * view, Agraph_t * g) char *buf; colorxlate(get_attribute_value("bordercolor", view, g), &cl, RGBA_DOUBLE); + glEnable(GL_POINT_SMOOTH); view->borderColor.R = (float) cl.u.RGBA[0]; view->borderColor.G = (float) cl.u.RGBA[1]; view->borderColor.B = (float) cl.u.RGBA[2]; -- 2.40.0