summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glview.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glview.cc b/src/glview.cc
index fb69f27..0c8394a 100644
--- a/src/glview.cc
+++ b/src/glview.cc
@@ -500,6 +500,7 @@ void GLView::paintGL()
// FIXME: This was an attempt to keep contrast with background, but is suboptimal
// (e.g. nearly invisible against a gray background).
int r,g,b;
+ r=g=b=0;
// bgcol.getRgb(&r, &g, &b);
glColor3d((255.0-r)/255.0, (255.0-g)/255.0, (255.0-b)/255.0);
glBegin(GL_LINES);
contact: Jan Huwald // Impressum