diff options
Diffstat (limited to 'include/vcl/opengl/OpenGLHelper.hxx')
-rw-r--r-- | include/vcl/opengl/OpenGLHelper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/opengl/OpenGLHelper.hxx b/include/vcl/opengl/OpenGLHelper.hxx index 4e11bf8306ef..2f4aec010e76 100644 --- a/include/vcl/opengl/OpenGLHelper.hxx +++ b/include/vcl/opengl/OpenGLHelper.hxx @@ -16,7 +16,7 @@ #include <rtl/ustring.hxx> -#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID +#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID && !defined(LIBO_HEADLESS) # include <prex.h> # include "GL/glxew.h" # include <postx.h> @@ -67,7 +67,7 @@ public: */ static bool isVCLOpenGLEnabled(); -#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID +#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID && !defined(LIBO_HEADLESS) static bool GetVisualInfo(Display* pDisplay, int nScreen, XVisualInfo& rVI); static GLXFBConfig GetPixmapFBConfig( Display* pDisplay, bool& bInverted ); #endif |