diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-14 09:48:43 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-01-17 14:52:12 +0100 |
commit | a2a5b29c2180f3128c20bf77eb3d9c7840c61551 (patch) | |
tree | bacb49e1d0f77e89f9414792132ce5bfc446f4e3 /cui | |
parent | 4a328036a8153922988cc1a730534c1a2c1542a8 (diff) |
Resolves: tdf#122701 opengl settings don't affect gtk3
Change-Id: Iffcf9b6ea8d191a509c2ca451f2ce4a249fde922
Reviewed-on: https://gerrit.libreoffice.org/66292
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit aa15463a2f303ab75679eefa4d8241f2b700684e)
Reviewed-on: https://gerrit.libreoffice.org/66389
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
(cherry picked from commit 390ad702841fd247061377c044df446a7b2c587d)
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 38acc1d22b4f..2a11f9501bbc 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -521,7 +521,7 @@ CanvasSettings::CanvasSettings() : bool CanvasSettings::IsHardwareAccelerationAvailable() const { #if HAVE_FEATURE_OPENGL - if( OpenGLWrapper::isVCLOpenGLEnabled() ) + if (OpenGLWrapper::isVCLOpenGLEnabled() && Application::GetToolkitName() != "gtk3") mbHWAccelAvailable = false; else |