diff options
author | Eric Anholt <[email protected]> | 2012-09-25 09:07:04 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-10-09 14:32:02 -0700 |
commit | dc6fa4107643e153bb1c5831ca6aa1be10ef3b3a (patch) | |
tree | 64f375f8aa772c97355b41425cba9463dc4c4054 | |
parent | 3f0e3a7ad5cf9bef745d460b0fa5e75ff830cb32 (diff) |
glx: Remove the last user of -DUSE_XCB.
Reviewed-by: Chad Versace <[email protected]>
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/mapi/glapi/gen/glX_proto_send.py | 2 |
2 files changed, 0 insertions, 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 <GL/glxproto.h>' - print '#ifdef USE_XCB' print '#include <X11/Xlib-xcb.h>' print '#include <xcb/xcb.h>' print '#include <xcb/glx.h>' - print '#endif /* USE_XCB */' print '' print '#define __GLX_PAD(n) (((n) + 3) & ~3)' |