egl_dri2/x11: Check availability of the dri2 extension
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Sun, 19 Jun 2011 21:48:39 +0000 (23:48 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 20 Jun 2011 14:06:24 +0000 (10:06 -0400)
commit80636ff2da374ca417db5afaaa0ab0cc5de9272d
tree1bee86817f3e291069d3b7eb73f62155ef44e4df
parent8eea050f5aed6ad8aeb64105c0e2581f0fd0b10a
egl_dri2/x11: Check availability of the dri2 extension

Do this before query versions, or xcb will shutdown
and the connection can not be used for swrast.
src/egl/drivers/dri2/platform_x11.c