egl/x11: simplify dri2_initialize_x11()
authorEric Engestrom <eric@engestrom.ch>
Mon, 17 Aug 2020 18:32:45 +0000 (20:32 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 18:31:51 +0000 (18:31 +0000)
commit8e259dad4cf4848883d1e349c6fdd2f3ed1fdcdc
tree764c8db5001300365ad5774bf746fc2e7ed673a0
parentbd385c424bdda6ffe38ea9100c77e43337dd34b8
egl/x11: simplify dri2_initialize_x11()

eglInitialize() already handles the "retry using the software path"
logic, there's no need to repeat it here.

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6353>
src/egl/drivers/dri2/platform_x11.c