summaryrefslogtreecommitdiff
path: root/src/qglview.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/qglview.cc')
-rw-r--r--src/qglview.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/qglview.cc b/src/qglview.cc
index 0afaa4b..7b193ec 100644
--- a/src/qglview.cc
+++ b/src/qglview.cc
@@ -59,7 +59,7 @@
#define FAR_FAR_AWAY 100000.0
-QGLView::QGLView(QWidget *parent) : QGLWidget(parent), renderer(NULL)
+QGLView::QGLView(QWidget *parent) : QGLWidget(parent)
{
init();
}
@@ -113,12 +113,6 @@ void QGLView::init()
#endif
}
-void QGLView::setRenderer(Renderer *r)
-{
- this->renderer = r;
- if (r) updateGL(); // Let the last image stay, e.g. to avoid animation flickering
-}
-
void QGLView::initializeGL()
{
glEnable(GL_DEPTH_TEST);
contact: Jan Huwald // Impressum