diff options
-rw-r--r-- | src/OffscreenView.cc | 5 | ||||
-rw-r--r-- | src/OffscreenView.h | 8 | ||||
-rw-r--r-- | src/QGLView.cc | 2 | ||||
-rw-r--r-- | src/QGLView.h | 4 |
4 files changed, 4 insertions, 15 deletions
diff --git a/src/OffscreenView.cc b/src/OffscreenView.cc index b09d80e..85bf8d8 100644 --- a/src/OffscreenView.cc +++ b/src/OffscreenView.cc @@ -27,11 +27,6 @@ void OffscreenView::display_opencsg_warning() } #endif -/*void OffscreenView::paintGL() -{ - GLView::vectorCamPaintGL(); -}*/ - bool OffscreenView::save(const char *filename) { return save_framebuffer(this->ctx, filename); diff --git a/src/OffscreenView.h b/src/OffscreenView.h index bc700f8..bb1cee5 100644 --- a/src/OffscreenView.h +++ b/src/OffscreenView.h @@ -15,11 +15,11 @@ class OffscreenView : public GLView { public: - OffscreenView(size_t width, size_t height); // not - ~OffscreenView(); // not -// void paintGL(); // + OffscreenView(size_t width, size_t height); + ~OffscreenView(); bool save(std::ostream &output); - OffscreenContext *ctx; // not + OffscreenContext *ctx; + // overrides bool save(const char *filename); std::string getRendererInfo() const; diff --git a/src/QGLView.cc b/src/QGLView.cc index 59c96c0..bbb67ca 100644 --- a/src/QGLView.cc +++ b/src/QGLView.cc @@ -27,8 +27,6 @@ #include "QGLView.h" #include "Preferences.h" #include "renderer.h" -//#include "rendersettings.h" -//#include "linalg.h" #include <QApplication> #include <QWheelEvent> diff --git a/src/QGLView.h b/src/QGLView.h index 8152c35..4192a06 100644 --- a/src/QGLView.h +++ b/src/QGLView.h @@ -45,10 +45,6 @@ public: private: void init(); - std::string rendererInfo; - - bool showcrosshairs; - bool mouse_drag_active; QPoint last_mouse; |