From e3051481cc9f5b7b36b317aff1454ee16ea9cdb9 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 4 May 2014 22:52:12 -0500 Subject: [PATCH] Adds support for OS X without X11. OS X support shouldn't depend on X11 being installed on the host. Removes the X11 dependency. --- configure.ac | 2 +- src/dispatch_common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 399e351..baf1765 100644 --- a/configure.ac +++ b/configure.ac @@ -78,7 +78,7 @@ case $host_os in ;; darwin*) build_egl=no - build_glx=yes + build_glx=no build_wgl=no build_apple=yes has_znow=no diff --git a/src/dispatch_common.h b/src/dispatch_common.h index 28bf533..e0e5452 100644 --- a/src/dispatch_common.h +++ b/src/dispatch_common.h @@ -30,7 +30,7 @@ #define EPOXY_IMPORTEXPORT __declspec(dllexport) #elif defined(__APPLE__) #define PLATFORM_HAS_EGL 0 -#define PLATFORM_HAS_GLX 1 +#define PLATFORM_HAS_GLX 0 #define PLATFORM_HAS_WGL 0 #define EPOXY_IMPORTEXPORT #else