glx: Remove the last user of -DUSE_XCB.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
Eric Anholt
2012-09-25 09:07:04 -07:00
parent 3f0e3a7ad5
commit dc6fa41076
2 changed files with 0 additions and 6 deletions

View 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*)

View 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)'