egl/surfaceless: simplify dri2_initialize_surfaceless()
authorEric Engestrom <eric@engestrom.ch>
Mon, 17 Aug 2020 18:31:45 +0000 (20:31 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 18:31:51 +0000 (18:31 +0000)
commitf7e0cdcf1a5b639b4df610be600fa5d8db100289
treeaad4353e0b2c308bad485bc6bbd600a4837b5dbc
parent83b5c1abc6ccaa5807f931e914842d181ab2410a
egl/surfaceless: simplify dri2_initialize_surfaceless()

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