summaryrefslogtreecommitdiff
path: root/src/OffscreenView.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-23 21:34:06 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-23 21:34:06 (GMT)
commit5389107aa684ab99701e238a7297f07b35f7d521 (patch)
tree327a51e43bcb642c849c5cfafadf8e84966c662d /src/OffscreenView.cc
parent4f578513a0960d4f079260922cdc86de0948099c (diff)
create GLView as parent of OffscreenView and QGLView. combine setRenderer()
Diffstat (limited to 'src/OffscreenView.cc')
-rw-r--r--src/OffscreenView.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/OffscreenView.cc b/src/OffscreenView.cc
index 5c65bc4..da129d8 100644
--- a/src/OffscreenView.cc
+++ b/src/OffscreenView.cc
@@ -1,7 +1,6 @@
#include <GL/glew.h>
#include "OffscreenView.h"
#include "system-gl.h"
-#include "renderer.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
@@ -27,11 +26,6 @@ OffscreenView::~OffscreenView()
teardown_offscreen_context(this->ctx);
}
-void OffscreenView::setRenderer(Renderer* r)
-{
- this->renderer = r;
-}
-
void OffscreenView::initializeGL()
{
glEnable(GL_DEPTH_TEST);
contact: Jan Huwald // Impressum