summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-09-16 16:52:13 +0100
committerAndras Timar <andras.timar@collabora.com>2015-09-18 10:10:57 +0200
commit3afe1ed86c1fd649a43193729dce2633d8655b4d (patch)
treee94e62acba10d47690cb05abbd033df4ec64beb8 /include/vcl
parent8bfe1de098b3f45efe5bf3fc1d6f524877463927 (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 'include/vcl')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 3e91f6f61a2c..68d7209f6662 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -245,6 +245,11 @@ public:
return mbInitialized;
}
+ bool requestedLegacy()
+ {
+ return mbRequestLegacyContext;
+ }
+
bool supportMultiSampling() const;
static SystemWindowData generateWinData(vcl::Window* pParent, bool bRequestLegacyContext);