summaryrefslogtreecommitdiff
path: root/src/OffscreenView.h
diff options
context:
space:
mode:
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