summaryrefslogtreecommitdiff
path: root/src/GLView.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-09 02:43:06 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-09 02:43:06 (GMT)
commitf577f91d25071f5ad1a9fdb6ed7c6dd3aa4c1008 (patch)
treecfc834302cc03e520127014faa59d5ecf58d7a06 /src/GLView.h
parentcc4f6ac1846882adbc5214157e1d7b5a1994a9db (diff)
Better warnings and GL info related to OpenCSG capabilities and OpenGL 1.x
Diffstat (limited to 'src/GLView.h')
-rw-r--r--src/GLView.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/GLView.h b/src/GLView.h
index c31e7af..5552e4b 100644
--- a/src/GLView.h
+++ b/src/GLView.h
@@ -32,7 +32,8 @@ public:
void setShowCrosshairs(bool enabled) { this->showcrosshairs = enabled; }
bool orthoMode() const { return this->orthomode; }
void setOrthoMode(bool enabled) { this->orthomode = enabled; }
-
+ const QString &getRendererInfo() const { return this->rendererInfo; }
+
public:
QLabel *statusLabel;
double object_rot_x;
@@ -52,6 +53,8 @@ private:
void init();
Renderer *renderer;
+ QString rendererInfo;
+
bool showfaces;
bool showedges;
bool showaxes;
contact: Jan Huwald // Impressum