From da3f7c127b4086eb50d1ba8ed6332fcf2431a85e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 25 Sep 2012 09:03:48 -0700 Subject: egl: Quit checking for a bug in old xcb when we require new xcb. Reviewed-by: Chad Versace --- src/egl/drivers/dri2/platform_x11.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index 2be6d095931..a56fc781880 100644 --- a/src/egl/drivers/dri2/platform_x11.c +++ b/src/egl/drivers/dri2/platform_x11.c @@ -543,11 +543,7 @@ dri2_connect(struct dri2_egl_display *dri2_dpy) dri2_strndup(driver_name, xcb_dri2_connect_driver_name_length (connect)); -#if XCB_DRI2_CONNECT_DEVICE_NAME_BROKEN - device_name = driver_name + ((connect->driver_name_length + 3) & ~3); -#else device_name = xcb_dri2_connect_device_name (connect); -#endif dri2_dpy->device_name = dri2_strndup(device_name, -- cgit v1.2.3