Kaydet (Commit) 390ad702 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Adolfo Jayme Barrientos

Resolves: tdf#122701 opengl settings don't affect gtk3

Change-Id: Iffcf9b6ea8d191a509c2ca451f2ce4a249fde922
Reviewed-on: https://gerrit.libreoffice.org/66292
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit aa15463a)
Reviewed-on: https://gerrit.libreoffice.org/66389Reviewed-by: 's avatarAdolfo Jayme Barrientos <fitojb@ubuntu.com>
üst 736a3841
...@@ -521,7 +521,7 @@ CanvasSettings::CanvasSettings() : ...@@ -521,7 +521,7 @@ CanvasSettings::CanvasSettings() :
bool CanvasSettings::IsHardwareAccelerationAvailable() const bool CanvasSettings::IsHardwareAccelerationAvailable() const
{ {
#if HAVE_FEATURE_OPENGL #if HAVE_FEATURE_OPENGL
if( OpenGLWrapper::isVCLOpenGLEnabled() ) if (OpenGLWrapper::isVCLOpenGLEnabled() && Application::GetToolkitName() != "gtk3")
mbHWAccelAvailable = false; mbHWAccelAvailable = false;
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment