From: arif Date: Mon, 3 Mar 2008 15:37:41 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: LAST_LIBGRAPH~32^2~4612 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e427dcf317d8c1c60f877e11aa7f28c686facd36;p=graphviz *** empty log message *** --- diff --git a/cmd/smyrna/gltemplate.c b/cmd/smyrna/gltemplate.c index 38e50a49d..54a1a2eca 100755 --- a/cmd/smyrna/gltemplate.c +++ b/cmd/smyrna/gltemplate.c @@ -141,11 +141,12 @@ static void realize (GtkWidget *widget,gpointer data) glFrontFace (GL_CW); // glEnable (GL_LIGHTING); // glEnable (GL_LIGHT0); - glEnable (GL_AUTO_NORMAL); - glEnable (GL_NORMALIZE); +// glEnable (GL_AUTO_NORMAL); +// glEnable (GL_NORMALIZE); glEnable (GL_DEPTH_TEST); glEnable (GL_BLEND); glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glDepthFunc (GL_LESS); +// glEnable(GL_LINE_SMOOTH); gdk_gl_drawable_gl_end (gldrawable); /*** OpenGL END ***/ diff --git a/cmd/smyrna/selection.c b/cmd/smyrna/selection.c index 633f2a610..8f1cf85dc 100755 --- a/cmd/smyrna/selection.c +++ b/cmd/smyrna/selection.c @@ -15,6 +15,7 @@ **********************************************************/ #include "selection.h" +#include "viewport.h" int rectintersects(float x,float y,float W,float H) { //returns 1 if rect is completely in the clip rect