diff --git a/src/glx/glxext.c b/src/glx/glxext.c index cbc59e80921..34e86ae734d 100644 --- a/src/glx/glxext.c +++ b/src/glx/glxext.c @@ -50,7 +50,9 @@ #include "glxextensions.h" #include "util/debug.h" +#ifndef GLX_USE_APPLEGL #include "dri_common.h" +#endif #include #include @@ -908,8 +910,10 @@ __glXInitialize(Display * dpy) dpyPriv->drawHash = __glxHashCreate(); +#ifndef GLX_USE_APPLEGL /* Set the logger before the *CreateDisplay functions. */ loader_set_logger(dri_message); +#endif /* ** Initialize the direct rendering per display data and functions.