Kaydet (Commit) 2a7571d0 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

make use of the new ForceOpenGL config variable

Change-Id: Ifdfcbd9d3d62d2a55e3e050d4723700f8436e57a
üst 9a33547d
......@@ -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;
......
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