diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-04-02 03:31:01 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-04-08 04:38:20 +0200 |
commit | 8325b7b49ec095349571efb17fe0d520ab67f897 (patch) | |
tree | a0b9e6753cc434f7989668257fa4d3b001278f52 /include | |
parent | Revert "Remove opengl usage from svx until we can't solve building problems" (diff) | |
download | core-8325b7b49ec095349571efb17fe0d520ab67f897.tar.gz core-8325b7b49ec095349571efb17fe0d520ab67f897.zip |
prevent initializing the OpenGL context multiple times
Change-Id: I2ebdbcd51938bc1dc61693ac392eed5d5e497a8d
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/OpenGLContext.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/OpenGLContext.hxx b/include/vcl/OpenGLContext.hxx index 82145b44b260..91355bfe6981 100644 --- a/include/vcl/OpenGLContext.hxx +++ b/include/vcl/OpenGLContext.hxx @@ -109,6 +109,7 @@ private: GLWindow m_aGLWin; boost::scoped_ptr<Window> m_pWindow; boost::scoped_ptr<SystemChildWindow> m_pChildWindow; + bool mbInitialized; }; #endif |