diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-29 12:36:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-29 12:36:06 +0200 |
commit | 3273e7facd858c7a5a2d46dc452029a06afe96f2 (patch) | |
tree | 433bdf8d57b8df3df0420932e5b7403b66813297 /desktop | |
parent | 4b039f27a2fe85a76ac8ccbf882fe9aff6870b4c (diff) |
The whole block is only relevant for HAVE_FEATURE_OPENGL
Change-Id: Iae065ee34c5536843ddba39b72b6fff4836cbf86
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/sofficemain.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index f850cff97dd6..1fb8be0d245f 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -91,14 +91,12 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() #endif #endif -#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined(LIBO_HEADLESS) +#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined(LIBO_HEADLESS) && HAVE_FEATURE_OPENGL /* Run test for OpenGL support in own process to avoid crash with broken * OpenGL drivers. Start process as early as possible. */ bool bSuccess = false; -#if HAVE_FEATURE_OPENGL bSuccess = fire_glxtest_process(); -#endif SAL_WARN_IF(!bSuccess, "desktop.opengl", "problems with glxtest"); #endif |