egl/x11: auth with xserver before attempting to open the dri module
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 29 Jul 2015 16:19:07 +0000 (17:19 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 7 Aug 2015 18:16:59 +0000 (19:16 +0100)
commit2c7b6cf512a775a37677b1e467d2af952c449dae
treebe57dd5e6848a3a3d8e20769192f059e85e3aff1
parent45e110bad9d5d31eb67d7d32937aa5a752108df8
egl/x11: auth with xserver before attempting to open the dri module

No real change, apart from keeping the calls to the underlying winsys
(x11) next to each other. Just like platform_wayland.

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