summaryrefslogtreecommitdiff
path: root/src/GLView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/GLView.h')
-rw-r--r--src/GLView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GLView.h b/src/GLView.h
index 7516894..f729838 100644
--- a/src/GLView.h
+++ b/src/GLView.h
@@ -18,6 +18,7 @@ class GLView : public QGLWidget
public:
GLView(QWidget *parent = NULL);
+ GLView(const QGLFormat & format, QWidget *parent = NULL);
void setRenderFunc(void (*func)(void*), void *userdata);
#ifdef ENABLE_OPENCSG
bool hasOpenCSGSupport() { return this->opencsg_support; }
@@ -45,6 +46,8 @@ public:
#endif
private:
+ void init();
+
void (*renderfunc)(void*);
void *renderfunc_vp;
contact: Jan Huwald // Impressum