egl/wayland: simplify dri2_initialize_wayland()
authorEric Engestrom <eric@engestrom.ch>
Mon, 17 Aug 2020 18:32:12 +0000 (20:32 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 18:31:51 +0000 (18:31 +0000)
commitbd385c424bdda6ffe38ea9100c77e43337dd34b8
tree5e709d5cc52d1eea9befb5d370b4f4d71f4c92fa
parentf7e0cdcf1a5b639b4df610be600fa5d8db100289
egl/wayland: simplify dri2_initialize_wayland()

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_wayland.c