diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-09-04 12:25:09 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-09-04 15:34:16 +0200 |
commit | 50238bddf0e95169007cb90479cca86849a19007 (patch) | |
tree | 9d48582fb1d2ffbb98d9bc290462d8ccc11a78e4 /vcl/osx | |
parent | 55c676623310ab8a44e426186f4339f6efd118dd (diff) |
tdf#144289 invert / disable default OpenGL support
... and as a result drop setting a default in SalSvpInstance.
This is also more consistent: now you must explicitly implement
CreateOpenGLContext() and set "m_bSupportsOpenGL = true".
Change-Id: I591580bf134907213b8308e0843c278d2f470ed3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121632
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/salinst.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index 057dbf8d605a..647cbc65927e 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -357,6 +357,7 @@ AquaSalInstance::AquaSalInstance() ImplSVData* pSVData = ImplGetSVData(); pSVData->maAppData.mxToolkitName = OUString("osx"); + m_bSupportsOpenGL = true; #if HAVE_FEATURE_SKIA AquaSkiaSalGraphicsImpl::prepareSkia(); |