diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-27 21:52:28 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-27 21:52:28 (GMT) |
commit | 3bf98dd19f9ed6b23f8d6ffba480ea62e22b0de4 (patch) | |
tree | 5bad7951cda03925300ea4f6f0eba7cbf3c33c7d /src/GLView.h | |
parent | 0fee2c55403a34014893f125682b3930a81ad2ed (diff) |
Check for GL extensions, not just OpenGL 2, before dismissing OpenCSG capabilities.
Diffstat (limited to 'src/GLView.h')
-rw-r--r-- | src/GLView.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GLView.h b/src/GLView.h index 3a36a15..8b281dd 100644 --- a/src/GLView.h +++ b/src/GLView.h @@ -79,6 +79,8 @@ private: void normalizeAngle(GLdouble& angle); #ifdef ENABLE_OPENCSG + bool is_opencsg_capable; + bool has_shaders; private slots: void display_opengl20_warning(); #endif |