summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-13 07:52:51 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-13 07:54:09 +0200
commitdde00f1f8ac598314b7f8a787eeacc841bc65f1c (patch)
treec8d6bb18995fd63fd4f30dc03133ede42ee8ac87 /include
parent47a82452b5040cd712ffafb7d153fd18940ee1af (diff)
make threaded rendering work correctly, fdo#81110
The context may only be bound in one thread! Change-Id: Ibb67f88c2f11fd48884ee39d89620193e4e5471b
Diffstat (limited to 'include')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 1e6f13ed3bae..94c70f30c2e1 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -151,6 +151,7 @@ public:
bool init(SystemChildWindow* pChildWindow);
void makeCurrent();
+ void resetCurrent();
void swapBuffers();
void sync();
void show();