glx: Fix build
authorJakob Bornecrantz <jakob@vmware.com>
Wed, 28 Apr 2010 15:19:41 +0000 (16:19 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Wed, 28 Apr 2010 15:19:41 +0000 (16:19 +0100)
src/glx/glxcmds.c

index be9d6f29c01e6770dcccfe08eca27d73d355b67e..926be1014a8a2a2b171cbf2328e846d4bbea55a0 100644 (file)
@@ -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)