diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-14 09:48:43 +0000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-01-15 13:43:57 +0100 |
commit | aa15463a2f303ab75679eefa4d8241f2b700684e (patch) | |
tree | 2fe96b65974b722b4f42d78871a0ee6f6637ef32 /cui | |
parent | a9672d702e82a2aeaa3fe1986a355ce355c7cf3e (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>
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 bc2510fb8e7a..bd244c72a518 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -526,7 +526,7 @@ CanvasSettings::CanvasSettings() : bool CanvasSettings::IsHardwareAccelerationAvailable() const { #if HAVE_FEATURE_OPENGL - if( OpenGLWrapper::isVCLOpenGLEnabled() ) + if (OpenGLWrapper::isVCLOpenGLEnabled() && Application::GetToolkitName() != "gtk3") mbHWAccelAvailable = false; else |