diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-28 09:57:29 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-28 17:26:34 +0200 |
commit | 039c9efa6d007f5512895c0be742e7926c4ac7b2 (patch) | |
tree | e2fba744738a61e31a32dea8b3533e0d6b7e2146 /include | |
parent | d87b312bcc8a5e64d9a5d0ea647a1050629421bd (diff) |
Introduce OpenGLContext::MakeCurrent for switching between contexts
Change-Id: I00b06d1330241c4df3b07dc6e0019c49fd7aa521
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 9d22ae6691ef..9efe3d8e5096 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -149,6 +149,7 @@ public: bool init(Window* pParent = 0); bool init(SystemChildWindow* pChildWindow); + void makeCurrent(); void swapBuffers(); void setWinSize(const Size& rSize); |