Mesa (master): pipe-loader: build pipe_loader_drm_x_auth whenever HAVE_PIPE_LOADER_XCB is defined

Emil Velikov evelikov at kemper.freedesktop.org
Sat Feb 22 03:24:59 UTC 2014


Module: Mesa
Branch: master
Commit: 1fb750f7f7331f369acf1827c79dc5e8d4e5ec42
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fb750f7f7331f369acf1827c79dc5e8d4e5ec42

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Feb 10 18:45:32 2014 +0000

pipe-loader: build pipe_loader_drm_x_auth whenever HAVE_PIPE_LOADER_XCB is defined

Currently HAVE_PIPE_LOADER_XCB is defined, rather than being set to 1/0.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob at vmware.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>

---

 src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
index eb90149..9b8f1b5 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
@@ -66,7 +66,7 @@ static struct pipe_loader_ops pipe_loader_drm_ops;
 static void
 pipe_loader_drm_x_auth(int fd)
 {
-#if HAVE_PIPE_LOADER_XCB
+#ifdef HAVE_PIPE_LOADER_XCB
    /* Try authenticate with the X server to give us access to devices that X
     * is running on. */
    xcb_connection_t *xcb_conn;




More information about the mesa-commit mailing list