diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-01 21:06:53 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-01 21:18:47 -0700 |
commit | 7dfd65705ccd3c6e2458d6892282520fe5ed8a6b (patch) | |
tree | dc18b4588a4d7cdcfbdff2d8f03f3b5891faac3e | |
parent | 19020b23efa15d72349bd833aebddcc64780a615 (diff) |
XQuartz: ASL: Use GLXAqua subsystem for logging GLXAqua messages
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | hw/xquartz/GL/indirect.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/hw/xquartz/GL/indirect.c b/hw/xquartz/GL/indirect.c index d15b9a3df..c41840bee 100644 --- a/hw/xquartz/GL/indirect.c +++ b/hw/xquartz/GL/indirect.c @@ -155,12 +155,8 @@ typedef long long GLint64EXT; __GLXprovider * GlxGetDRISWrastProvider (void); -// Write debugging output, or not -#ifdef GLAQUA_DEBUG -#define GLAQUA_DEBUG_MSG ErrorF -#else -#define GLAQUA_DEBUG_MSG(a, ...) -#endif +#include "darwin.h" +#define GLAQUA_DEBUG_MSG(msg, args...) ASL_LOG(ASL_LEVEL_DEBUG, "GLXAqua", msg, ##args) static void setup_dispatch_table(void); GLuint __glFloorLog2(GLuint val); |