glx: Remove the last user of -DUSE_XCB.
authorEric Anholt <eric@anholt.net>
Tue, 25 Sep 2012 16:07:04 +0000 (09:07 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 9 Oct 2012 21:32:02 +0000 (14:32 -0700)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
configure.ac
src/mapi/glapi/gen/glX_proto_send.py

index 45406dd433eb73d4de1519d65c2fd4e5674be823..48ec4669d806bbe89100aedbf8369a3ce89f87b6 100644 (file)
@@ -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*)
index 0e4b420fdb275e2cf82cc6639e6efb4847e4e2aa..2cb0cf4ef8b7fa61703d6de4165dac5543cd49a3 100644 (file)
@@ -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)'