summaryrefslogtreecommitdiff
path: root/src/OffscreenView.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-24 03:33:28 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-24 03:33:28 (GMT)
commiteff16283358217b43b310269a72e0cb47357a8b3 (patch)
tree4852cb05e4a0bb380aa00dd91c6de5bd869a4ffd /src/OffscreenView.h
parent958657eb268dcb3a68ade22cb67bb0db108e71ad (diff)
continue merging enable_opencsg_shaders
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r--src/OffscreenView.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h
index 3e03175..69bda4c 100644
--- a/src/OffscreenView.h
+++ b/src/OffscreenView.h
@@ -24,8 +24,15 @@ public:
bool save(const char *filename);
bool save(std::ostream &output);
std::string getRendererInfo() const;
- void enable_opencsg_shaders();
OffscreenContext *ctx; // not
+
+#ifdef ENABLE_OPENCSG
+ bool is_opencsg_capable;
+ bool has_shaders;
+ void enable_opencsg_shaders();
+ bool opencsg_support;
+ int opencsg_id;
+#endif
};
#endif
contact: Jan Huwald // Impressum