summaryrefslogtreecommitdiff
path: root/src/dispatch_common.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-11 16:34:05 -0800
committerEric Anholt <eric@anholt.net>2013-12-11 17:18:28 -0800
commit708c31a4064f67d4ac4ef8877a4b6c313e4dbc5a (patch)
treee3ec28464db33e62e6c05c0f08abe4537e7cebc3 /src/dispatch_common.h
parent940438fae3715547256d3cf220e886bbe972521a (diff)
downloadlibepoxy-708c31a4064f67d4ac4ef8877a4b6c313e4dbc5a.tar.gz
Disable EGL on OS X.
It doesn't exist. There's EAGL, but that's not something we're covering.
Diffstat (limited to 'src/dispatch_common.h')
-rw-r--r--src/dispatch_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispatch_common.h b/src/dispatch_common.h
index f18fd7b..45b6c45 100644
--- a/src/dispatch_common.h
+++ b/src/dispatch_common.h
@@ -27,6 +27,10 @@
#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 1
+#define PLATFORM_HAS_WGL 0
#else
#define PLATFORM_HAS_EGL 1
#define PLATFORM_HAS_GLX 1