egl/android: simplify dri2_initialize_android()
authorEric Engestrom <eric@engestrom.ch>
Mon, 17 Aug 2020 18:30:47 +0000 (20:30 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 18:31:51 +0000 (18:31 +0000)
commit83b5c1abc6ccaa5807f931e914842d181ab2410a
tree3a21ec65b9af2efdb0e1577a80a740c673378c49
parentcccb497d3c3bbc8f615fe79d774eb42a48e5a95c
egl/android: simplify dri2_initialize_android()

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