]> granicus.if.org Git - graphviz/commitdiff
alpha blending enabled
authorarif <devnull@localhost>
Thu, 19 Nov 2009 22:55:02 +0000 (22:55 +0000)
committerarif <devnull@localhost>
Thu, 19 Nov 2009 22:55:02 +0000 (22:55 +0000)
cmd/smyrna/topview.c

index d8a4079e57fdc94dbf8bdd497c1bf2dab0bf5e17..5609c6d7f457e2de23853195a48258b67c8f136a 100755 (executable)
@@ -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);