From dc6fa4107643e153bb1c5831ca6aa1be10ef3b3a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 25 Sep 2012 09:07:04 -0700 Subject: [PATCH] glx: Remove the last user of -DUSE_XCB. Reviewed-by: Chad Versace --- configure.ac | 4 ---- src/mapi/glapi/gen/glX_proto_send.py | 2 -- 2 files changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 45406dd433e..48ec4669d80 100644 --- a/configure.ac +++ b/configure.ac @@ -823,10 +823,6 @@ if test "x$enable_glx" = xyes -a "x$no_x" = xyes; then AC_MSG_ERROR([X11 development libraries needed for GLX]) fi -if test "x$enable_glx" = xyes; then - DEFINES="$DEFINES -DUSE_XCB" -fi - dnl Direct rendering or just indirect rendering case "$host_os" in gnu*) diff --git a/src/mapi/glapi/gen/glX_proto_send.py b/src/mapi/glapi/gen/glX_proto_send.py index 0e4b420fdb2..2cb0cf4ef8b 100644 --- a/src/mapi/glapi/gen/glX_proto_send.py +++ b/src/mapi/glapi/gen/glX_proto_send.py @@ -169,11 +169,9 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto): print '#include "glapi.h"' print '#include "glthread.h"' print '#include ' - print '#ifdef USE_XCB' print '#include ' print '#include ' print '#include ' - print '#endif /* USE_XCB */' print '' print '#define __GLX_PAD(n) (((n) + 3) & ~3)' -- 2.30.2