diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-11-19 17:03:51 +0100 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-11-19 17:05:41 +0100 |
commit | a4bcb8c0be3b5b404fb84e2954f1b22a50e85a31 (patch) | |
tree | a6de9f2f75f0324a272d25d5cae6da7d694f6d9e /vcl | |
parent | 3711ccb777a6a69d68ed221bd642c8dcd5557628 (diff) |
readability
Change-Id: I8fbff3f86a543a58259408914bb78f992ad65864
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/opengl/OpenGLHelper.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx index 79833d7de8f1..bfb043dc7450 100644 --- a/vcl/source/opengl/OpenGLHelper.cxx +++ b/vcl/source/opengl/OpenGLHelper.cxx @@ -918,10 +918,13 @@ bool OpenGLHelper::isVCLOpenGLEnabled() bool bRet = false; if (bForceOpenGL) + { bRet = true; - + } else if (!supportsVCLOpenGL()) + { bRet = false; + } else { static bool bEnableGLEnv = !!getenv("SAL_ENABLEGL"); |