summaryrefslogtreecommitdiff
path: root/vcl/qt5
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-09-04 12:25:09 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-09-04 15:34:16 +0200
commit50238bddf0e95169007cb90479cca86849a19007 (patch)
tree9d48582fb1d2ffbb98d9bc290462d8ccc11a78e4 /vcl/qt5
parent55c676623310ab8a44e426186f4339f6efd118dd (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/qt5')
-rw-r--r--vcl/qt5/Qt5Instance.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qt5/Qt5Instance.cxx b/vcl/qt5/Qt5Instance.cxx
index f1e34d2761b1..c1e82aa6a0d9 100644
--- a/vcl/qt5/Qt5Instance.cxx
+++ b/vcl/qt5/Qt5Instance.cxx
@@ -246,8 +246,8 @@ Qt5Instance::Qt5Instance(std::unique_ptr<QApplication>& pQApp, bool bUseCairo)
connect(QGuiApplication::inputMethod(), &QInputMethod::localeChanged, this,
&Qt5Instance::localeChanged);
-#ifdef EMSCRIPTEN
- m_bSupportsOpenGL = false;
+#ifndef EMSCRIPTEN
+ m_bSupportsOpenGL = true;
#endif
}