diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-11 16:34:05 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-11 17:18:28 -0800 |
commit | 708c31a4064f67d4ac4ef8877a4b6c313e4dbc5a (patch) | |
tree | e3ec28464db33e62e6c05c0f08abe4537e7cebc3 /src/dispatch_common.h | |
parent | 940438fae3715547256d3cf220e886bbe972521a (diff) | |
download | libepoxy-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.h | 4 |
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 |