summaryrefslogtreecommitdiff
path: root/src/dispatch_common.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-05-29 22:39:09 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-05-29 22:47:40 +0100
commit350a98a3085255e31909065d66539e0c7d58d371 (patch)
tree3010c1af95b8ff3be982fbddd2aff47147a83762 /src/dispatch_common.h
parent7b8a540dce41c259a720c9ad4875cd8aa9d74240 (diff)
downloadlibepoxy-350a98a3085255e31909065d66539e0c7d58d371.tar.gz
Disable EGL on macOS
EGL is not available on macOS, except through Objective C.
Diffstat (limited to 'src/dispatch_common.h')
-rw-r--r--src/dispatch_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispatch_common.h b/src/dispatch_common.h
index dcb3a35..a361ccc 100644
--- a/src/dispatch_common.h
+++ b/src/dispatch_common.h
@@ -28,7 +28,7 @@
#define PLATFORM_HAS_GLX ENABLE_GLX
#define PLATFORM_HAS_WGL 1
#elif defined(__APPLE__)
-#define PLATFORM_HAS_EGL ENABLE_EGL
+#define PLATFORM_HAS_EGL 0
#define PLATFORM_HAS_GLX ENABLE_GLX
#define PLATFORM_HAS_WGL 0
#elif defined(ANDROID)