summaryrefslogtreecommitdiff
path: root/src/OffscreenView.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-24 03:54:53 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-24 03:54:53 (GMT)
commitca41979ee514f642c506e4f4d81461f19b587bf2 (patch)
treef31feb004d0b724d5240c8a227c7f0c886939a1b /src/OffscreenView.h
parenteff16283358217b43b310269a72e0cb47357a8b3 (diff)
parentabc9da96c89b337377ee62ac29ee54e4e7b0a514 (diff)
Merge branch 'master' of github.com:openscad/openscad into issue11_2
Conflicts: RELEASE_NOTES openscad.pro src/mainwin.cc
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r--src/OffscreenView.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h
index 69bda4c..81fa88d 100644
--- a/src/OffscreenView.h
+++ b/src/OffscreenView.h
@@ -17,22 +17,15 @@ class OffscreenView : public GLView
public:
OffscreenView(size_t width, size_t height); // not
~OffscreenView(); // not
-
+ void enable_opencsg_shaders();
void initializeGL(); //
void paintGL(); //
-
- bool save(const char *filename);
bool save(std::ostream &output);
- std::string getRendererInfo() const;
OffscreenContext *ctx; // not
-#ifdef ENABLE_OPENCSG
- bool is_opencsg_capable;
- bool has_shaders;
- void enable_opencsg_shaders();
- bool opencsg_support;
- int opencsg_id;
-#endif
+ // overrides
+ bool save(const char *filename);
+ std::string getRendererInfo() const;
};
#endif
contact: Jan Huwald // Impressum