summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-12-17 22:27:54 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-12-17 22:31:16 +0100
commit2a7571d00f182147311596541642b8abde7729d0 (patch)
treef6a65deddc3aceaf280bea759321a4cc2b825cb5 /vcl
parent9a33547d1462dcb0f9aae885e4160a4f42eeb94d (diff)
make use of the new ForceOpenGL config variable
Change-Id: Ifdfcbd9d3d62d2a55e3e050d4723700f8436e57a
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx
index 3c08c0345025..7f4cf361ef1c 100644
--- a/vcl/source/opengl/OpenGLHelper.cxx
+++ b/vcl/source/opengl/OpenGLHelper.cxx
@@ -408,7 +408,7 @@ bool OpenGLHelper::isVCLOpenGLEnabled()
* * SAL_ENABLEGL overrides VCL_HIDE_WINDOWS and the configuration variable
* * the configuration variable is checked if no environment variable is set
*/
- static bool bForceOpenGL = !!getenv("SAL_FORCEGL");
+ static bool bForceOpenGL = !!getenv("SAL_FORCEGL") || officecfg::Office::Common::VCL::ForceOpenGL::get();
if (bForceOpenGL)
return true;