aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2010-04-02 01:35:19 -0700
committerJeremy Huddleston <[email protected]>2010-04-27 11:26:51 -0700
commit80b280db883edc9550484dba03bd5c124b6a9bf9 (patch)
tree89dfc9f512054dd78713fc56d1b2d9ff2206edf6 /src/glx/dri_common.c
parent77dc40b2897dfaf1b7adedee4bd0e88f13bc76d3 (diff)
apple: Change ifdefs for DRI to be DRI && !APPLE
Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx/dri_common.c')
-rw-r--r--src/glx/dri_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c
index e4034161bb3..d6ce681d70e 100644
--- a/src/glx/dri_common.c
+++ b/src/glx/dri_common.c
@@ -33,7 +33,7 @@
* Kristian Høgsberg ([email protected])
*/
-#ifdef GLX_DIRECT_RENDERING
+#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
#include <unistd.h>
#include <dlfcn.h>