egl_dri2 x11: Workaround device_name xcb-dri2 bug
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Wed, 2 Mar 2011 20:23:04 +0000 (21:23 +0100)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Wed, 2 Mar 2011 19:41:38 +0000 (20:41 +0100)
commit4ca075ac4f047141d5e5ef865991650e0ac488e4
tree7c8c8ff9ed3ca3efd7a4accd4cc8ade79bd1c227
parent648a16d079282a33289d9b1d91108a665bd84547
egl_dri2 x11: Workaround device_name xcb-dri2 bug

This commit is basically a copy-over of the fix
Chia-I Wu's commited to wayland:
   http://cgit.freedesktop.org/wayland/wayland-demos/commit/?id=1b6c0ed95
   "Workaround an xcb-dri2 bug.
    xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken.
    It only works when the length of the driver name is a multiple of 4."
configure.ac
src/egl/drivers/dri2/platform_x11.c