egl/x11: open the device from within dri2_x11_connect()
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 29 Jul 2015 16:19:05 +0000 (17:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 7 Aug 2015 18:15:02 +0000 (19:15 +0100)
commitfaf0f811e3f9fb724a89c463c0cb6a0d61715f95
tree96da67d85d829fbaa0a81f2367c8a62bda983932
parentbeddb0a2371059829b20240058931b8c9fd5be40
egl/x11: open the device from within dri2_x11_connect()

Allows us, with the next commit, to use alternative driver_name rather
than the one from xserver.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/egl/drivers/dri2/platform_x11.c