summaryrefslogtreecommitdiff
path: root/src/glview.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/glview.cc')
-rw-r--r--src/glview.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glview.cc b/src/glview.cc
index dc42a7f..29046e0 100644
--- a/src/glview.cc
+++ b/src/glview.cc
@@ -65,6 +65,8 @@ GLView::GLView(QWidget *parent) : QGLWidget(parent)
setMouseTracking(true);
#ifdef ENABLE_OPENCSG
opencsg_support = true;
+ static int sId = 0;
+ opencsg_id = sId++;
#endif
}
contact: Jan Huwald // Impressum