summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glx/glxcmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c
index e74ae3472e5..b0482977d53 100644
--- a/src/glx/glxcmds.c
+++ b/src/glx/glxcmds.c
@@ -887,7 +887,7 @@ glXCopyContext(Display * dpy, GLXContext source,
static Bool
__glXIsDirect(Display * dpy, GLXContextID contextID)
{
-#ifndef GLX_USE_APPLEGL /* TODO: apple indirect */
+#ifdef GLX_USE_APPLEGL /* TODO: apple indirect */
return GC_IS_DIRECT(gc);
#else
#if !defined(USE_XCB)