f6e663e4bb
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>
28 lines
708 B
Diff
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
|
|
|