summaryrefslogtreecommitdiff
path: root/external/epoxy/epoxy.noegl.by.default.patch
blob: bf89453363facea483c74d8717d3955671e09c0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- 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