diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-14 09:48:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-01-14 12:09:53 +0100 |
commit | 6c904345b1f3e02db5ab163f46517fec2b85e539 (patch) | |
tree | bfed8ead73f3facb46762dd6683ffb38568fed9a /cui | |
parent | 424a1a8a06eb03d4c84fd63ca1b73abad0324f89 (diff) |
Resolves: tdf#122701 opengl settings don't affect gtk3
Change-Id: Iffcf9b6ea8d191a509c2ca451f2ce4a249fde922
Reviewed-on: https://gerrit.libreoffice.org/66285
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.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 9fa7ce06d79b..80cb1cb442a7 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 |