7d0d1b198e
Change-Id: Ic3093d3c12c33cbcc09903409daec6277428ecd6 Reviewed-on: https://gerrit.libreoffice.org/59664 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
29 lines
744 B
Diff
29 lines
744 B
Diff
--- src/dispatch_common.h
|
|
+++ src/dispatch_common.h
|
|
@@ -24,20 +24,19 @@
|
|
#include "config.h"
|
|
|
|
#ifdef _WIN32
|
|
-#define PLATFORM_HAS_EGL ENABLE_EGL
|
|
-#define PLATFORM_HAS_GLX ENABLE_GLX
|
|
+#define PLATFORM_HAS_EGL 0
|
|
+#define PLATFORM_HAS_GLX 0
|
|
#define PLATFORM_HAS_WGL 1
|
|
#elif defined(__APPLE__)
|
|
-#define PLATFORM_HAS_EGL ENABLE_EGL
|
|
-#define PLATFORM_HAS_GLX ENABLE_GLX
|
|
+#define PLATFORM_HAS_EGL 0
|
|
+#define PLATFORM_HAS_GLX 0
|
|
#define PLATFORM_HAS_WGL 0
|
|
#elif defined(ANDROID)
|
|
-#define PLATFORM_HAS_EGL ENABLE_EGL
|
|
+#define PLATFORM_HAS_EGL 1
|
|
#define PLATFORM_HAS_GLX 0
|
|
#define PLATFORM_HAS_WGL 0
|
|
#else
|
|
-#define PLATFORM_HAS_EGL ENABLE_EGL
|
|
-#define PLATFORM_HAS_GLX ENABLE_GLX
|
|
+#define PLATFORM_HAS_GLX 1
|
|
#define PLATFORM_HAS_WGL 0
|
|
#endif
|
|
|