diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-24 17:21:45 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-24 17:21:45 (GMT) |
commit | 707118ce9485f1c703bf6cc99bad3affc2a48c10 (patch) | |
tree | e88a90b086f7cb7d2cf331554f5cae7b0fca2def /src/OffscreenView.h | |
parent | 91896e0d9680a5919ff31d82162a855f5ef2b08c (diff) |
move enable_opencsg_shaders, fix indenting, split out display_opencsg_warning
also update docs, and try to make enable_opencsg_shaders the same between
qgl and offscreengl
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r-- | src/OffscreenView.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h index 81fa88d..fd7c9bd 100644 --- a/src/OffscreenView.h +++ b/src/OffscreenView.h @@ -17,15 +17,17 @@ 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(std::ostream &output); OffscreenContext *ctx; // not - // overrides bool save(const char *filename); std::string getRendererInfo() const; +#ifdef ENABLE_OPENCSG + void enable_opencsg_shaders(); + void display_opencsg_warning(); +#endif }; #endif |