projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glx: omit loader_loader() for macOS
[mesa.git]
/
src
/
glx
/
glxext.c
diff --git
a/src/glx/glxext.c
b/src/glx/glxext.c
index cbc59e80921d5b606702bcf23cbdacc3ed4f3943..34e86ae734d46d1f3904f63546c8ed4757877026 100644
(file)
--- a/
src/glx/glxext.c
+++ b/
src/glx/glxext.c
@@
-50,7
+50,9
@@
#include "glxextensions.h"
#include "util/debug.h"
#include "glxextensions.h"
#include "util/debug.h"
+#ifndef GLX_USE_APPLEGL
#include "dri_common.h"
#include "dri_common.h"
+#endif
#include <X11/Xlib-xcb.h>
#include <xcb/xcb.h>
#include <X11/Xlib-xcb.h>
#include <xcb/xcb.h>
@@
-908,8
+910,10
@@
__glXInitialize(Display * dpy)
dpyPriv->drawHash = __glxHashCreate();
dpyPriv->drawHash = __glxHashCreate();
+#ifndef GLX_USE_APPLEGL
/* Set the logger before the *CreateDisplay functions. */
loader_set_logger(dri_message);
/* Set the logger before the *CreateDisplay functions. */
loader_set_logger(dri_message);
+#endif
/*
** Initialize the direct rendering per display data and functions.
/*
** Initialize the direct rendering per display data and functions.