diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-09-16 16:52:13 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-09-16 15:59:00 +0000 |
commit | 464f49e0b88e13c132bcf9cfe250239a1e1b0f8d (patch) | |
tree | 57adfa281f54ee27755c05e0ac3f54a23c43caf3 /vcl/inc/openglgdiimpl.hxx | |
parent | 6a02e88b46ab424a221b41814f56a1dfd31b801d (diff) |
tdf#94281 - don't mix legacy and VCL OpenGLContext's.
Each has rather different assumptions about how life should be.
Change-Id: I85fffc77d14f3a5335a077fcb541a2b31c372043
Reviewed-on: https://gerrit.libreoffice.org/18644
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 55f2e7039471..e0693495fd53 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -59,6 +59,9 @@ protected: OpenGLFramebuffer* mpFramebuffer; OpenGLProgram* mpProgram; + /// Is it someone else's context we shouldn't be fiddling with ? + static bool IsForeignContext(const rtl::Reference<OpenGLContext> &xContext); + // clipping vcl::Region maClipRegion; bool mbUseScissor; |