From: arif Date: Thu, 19 Nov 2009 22:55:02 +0000 (+0000) Subject: alpha blending enabled X-Git-Tag: LAST_LIBGRAPH~32^2~1551 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df87c1cdf7a6118857f63a79095381625816437f;p=graphviz alpha blending enabled --- diff --git a/cmd/smyrna/topview.c b/cmd/smyrna/topview.c index d8a4079e5..5609c6d7f 100755 --- a/cmd/smyrna/topview.c +++ b/cmd/smyrna/topview.c @@ -867,6 +867,10 @@ static int drawtopviewedgelabels(Agraph_t * g) void drawTopViewGraph(Agraph_t * g) { + + glEnable (GL_BLEND); + glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + glDisable(GL_DEPTH_TEST); drawtopviewnodes(g); drawtopviewlabels(g); drawtopviewedges(g);