office-gobmx/external/epoxy/epoxy.noegl.by.default.patch
Caolán McNamara f6e663e4bb Related: tdf#124942 upgrade epoxy to 1.5.3
https://github.com/anholt/libepoxy/issues/180 sounds very similar and
1.5.3 apparently fixes that

Change-Id: I009f5bc82f9e8326a7028ed29d86733cce649d15
Reviewed-on: https://gerrit.libreoffice.org/71733
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-05-03 16:50:23 +02:00

28 lines
708 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 0
-#define PLATFORM_HAS_GLX ENABLE_GLX
+#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