glx: Remove the last user of -DUSE_XCB.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
@@ -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*)
|
||||
|
@@ -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)'
|
||||
|
Reference in New Issue
Block a user