summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
471fd41)
Earlier commit added the code unconditionally, since the loader code
itself is already built on macOS.
Although it did not consider the #include mayhem that src/glx is.
In particular, none of the __GLXDRI{screen,context,drawable) are
available for macOS... those are pulled by dri_common.[ch].
Ideally we'll untangle that, but for the time being simply #ifdef out
the include/call.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2726
Fixes: b699d070a6d ("glx: set the loader_logger early and for everyone")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4490>
#include "glxextensions.h"
#include "util/debug.h"
#include "glxextensions.h"
#include "util/debug.h"
#include <X11/Xlib-xcb.h>
#include <xcb/xcb.h>
#include <X11/Xlib-xcb.h>
#include <xcb/xcb.h>
dpyPriv->drawHash = __glxHashCreate();
dpyPriv->drawHash = __glxHashCreate();
/* Set the logger before the *CreateDisplay functions. */
loader_set_logger(dri_message);
/* Set the logger before the *CreateDisplay functions. */
loader_set_logger(dri_message);
/*
** Initialize the direct rendering per display data and functions.
/*
** Initialize the direct rendering per display data and functions.