summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-08-16 05:36:30 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-09-02 01:08:45 +0200
commit7a7a8e1b3251232c08f568ad9d14004f01210b68 (patch)
tree049c345422e535a5adcfd3254989d7ea611f3a28 /include
parenta72a10a32b1922462d43170a2a77a95c49d4fda2 (diff)
add possibility to request a compatibility context
Change-Id: I0135e81f925fda19c06144d21d2f2b0efc9e57be
Diffstat (limited to 'include')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 699fb296b466..dc223d5be7d2 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -149,6 +149,8 @@ public:
OpenGLContext();
~OpenGLContext();
+ void requestLegacyContext();
+
bool init(Window* pParent = 0);
bool init(SystemChildWindow* pChildWindow);
@@ -186,6 +188,7 @@ private:
SystemChildWindow* m_pChildWindow;
boost::scoped_ptr<SystemChildWindow> m_pChildWindowGC;
bool mbInitialized;
+ bool mbRequestLegacyContext;
};
#endif