egl/x11: cleanup init code
authorEric Engestrom <eric@engestrom.ch>
Thu, 8 Dec 2016 00:30:34 +0000 (00:30 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 Dec 2016 11:48:31 +0000 (11:48 +0000)
commit08fc74663bea34d61761b02b6194cdef686baefe
treead47802d11de23197924ca3bc9832c2bf1457d28
parent47351b843a8213e931bbd70cb6a2501b87cb525e
egl/x11: cleanup init code

No functional change, just rewriting it in an easier-to-understand way.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_x11.c